Parcourir la source

首页 查询检测系统 在线离线 1:在线 2:离线

sunhh il y a 1 an
Parent
commit
ef948b2782

+ 1 - 1
business-service/src/main/java/com/ozs/service/impl/MonitorSystemServiceImpl.java

@@ -188,7 +188,7 @@ public class MonitorSystemServiceImpl extends ServiceImpl<MonitorSystemMapper, M
                 AlarmHeartbeatLog alarmHeartbeatLog = monitorSystemMapper.selectAlarmHeartbeatLogByClientId(monitorSystem.getClientId());
                 if (StringUtils.isEmptySunhh(alarmHeartbeatLog)) {
                     offlineMonitor++;
-                    monitorSystem.setStatus(2);
+                    monitorSystem.setStatus(1);
                 } else {
                     long timeNow = new Date().getTime();
                     long createTime = alarmHeartbeatLog.getCreateTime().getTime();