8
0

3 Revīzijas 00b74d11e5 ... 647ae1e480

Autors SHA1 Ziņojums Datums
  shaohongbo 647ae1e480 Merge branch 'v2.0.0' of http://39.106.8.246:3003/apm/energy-eq-run-diagnose into v2.0.0 3 gadi atpakaļ
  shaohongbo e121e685f8 报警发数新增批量发送 3 gadi atpakaļ
  shaohongbo 1f5e1700ed 报警发数新增批量发送 3 gadi atpakaļ

+ 2 - 1
src/main/java/com/persagy/apm/diagnose/indicatorrecord/service/impl/MonitorIndicatorRecordServiceImpl.java

@@ -259,7 +259,8 @@ public class MonitorIndicatorRecordServiceImpl implements IMonitorIndicatorRecor
     private Date getDefultStartTime() throws Exception {
         Date lastComputeTime;
         if (StringUtils.isBlank(computePropertiesConfig.getDStartTime())) {
-            lastComputeTime = new Date();
+
+            lastComputeTime = DateUtils.get15MinLite(new Date());
         } else {
             lastComputeTime = DateUtils.str2Date(computePropertiesConfig.getDStartTime(), DateUtils.SDF_SECOND);
         }