定时任务问题修复
This commit is contained in:
@@ -144,7 +144,7 @@ public class DeviceAbnormaStatisticsServiceImpl implements DeviceAbnormalStatist
|
||||
topMsg.setOfftimeFlag(0);
|
||||
topMsg.setComOutCount(1);
|
||||
topMsg.setComOutDescription(DateUtil.beginOfDay(DateUtil.parse(param.getTime()))+"至"+devEntry.getValue().get(0).getUpdateTime());
|
||||
} else if (new SimpleDateFormat("yyyy-MM-dd HH:mm:ss").parse(devEntry.getValue().get(0).getUpdateTime()).before(DateUtil.beginOfDay(DateUtil.parse(param.getTime())))) {
|
||||
} else {
|
||||
topMsg.setOfftimeFlag(1);
|
||||
topMsg.setComOutCount(0);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user