3 Commits 00b74d11e5 ... 647ae1e480

Author SHA1 Message Date
  shaohongbo 647ae1e480 Merge branch 'v2.0.0' of http://39.106.8.246:3003/apm/energy-eq-run-diagnose into v2.0.0 3 years ago
  shaohongbo e121e685f8 报警发数新增批量发送 3 years ago
  shaohongbo 1f5e1700ed 报警发数新增批量发送 3 years ago

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