|
|
|
@ -165,6 +165,7 @@ public class DeviceDataBaStatusServiceImpl implements DeviceDataBaStatusService |
|
|
|
data.setStopRun(commonOpt.judgeStopRun(objectMapper, realtime85Map.get(deviceId))); |
|
|
|
} |
|
|
|
|
|
|
|
if (null != data.getStopRun()) { |
|
|
|
if (0 == data.getStopRun()) { |
|
|
|
data.setContinuousRunningTimeStr(SecondsToHMSConverter.covertSeconds(data.getContinuousRunningTime())); |
|
|
|
} else if (StringUtils.isNotBlank(data.getLatestTs()) && currentTs >= Long.parseLong(data.getLatestTs())) { |
|
|
|
@ -173,6 +174,7 @@ public class DeviceDataBaStatusServiceImpl implements DeviceDataBaStatusService |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
return resultList; |
|
|
|
} |
|
|
|
|