Преглед на файлове

车载终端信息导出修改

gao.qiang преди 1 година
родител
ревизия
93c52921c9
променени са 1 файла, в които са добавени 1 реда и са изтрити 1 реда
  1. 1 1
      business-service/src/main/java/com/ozs/service/impl/MonitorSystemServiceImpl.java

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

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