|
@@ -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();
|