8
0

3 Ревизии 00b74d11e5 ... 647ae1e480

Автор SHA1 Съобщение Дата
  shaohongbo 647ae1e480 Merge branch 'v2.0.0' of http://39.106.8.246:3003/apm/energy-eq-run-diagnose into v2.0.0 преди 3 години
  shaohongbo e121e685f8 报警发数新增批量发送 преди 3 години
  shaohongbo 1f5e1700ed 报警发数新增批量发送 преди 3 години
променени са 1 файла, в които са добавени 2 реда и са изтрити 1 реда
  1. 2 1
      src/main/java/com/persagy/apm/diagnose/indicatorrecord/service/impl/MonitorIndicatorRecordServiceImpl.java

+ 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);
         }