Browse Source

报警发数新增批量发送

shaohongbo 3 years ago
parent
commit
4a42650aee

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

@@ -376,7 +376,7 @@ public class MonitorIndicatorRecordServiceImpl implements IMonitorIndicatorRecor
                     continue;
                 }
                 sendTimeKeyAndDataList.put(dateListEntry.getKey(),value);
-                endTime = DateUtils.str2Date(dateListEntry.getKey(), DateUtils.SDF_SECOND);
+                endTime = DateUtils.str2Date(dateListEntry.getKey(), DateUtils.SDFSECOND);
             }
             String sentValue = CollectDataUtil.batchBuildSendParam(sendTimeKeyAndDataList,alarmItemCode);
             AlarmWebSocketServer.sendMsgToClients(projectDTO.getProjectId(), sentValue);