Commit 05fcad54 by levphon

离线报警数和旧e盾统一时间格式

1 parent 000ab3b2
...@@ -135,7 +135,7 @@ public class HomeService { ...@@ -135,7 +135,7 @@ public class HomeService {
returnMap.put("powerOffAlarmCount", powerOffAlarmCount); returnMap.put("powerOffAlarmCount", powerOffAlarmCount);
// 统计设备离线报警 // 统计设备离线报警
String lostBegin = DateUtil.formatDateYmd(DateUtils.addHours(new Date(), -72)); String lostBegin = DateUtil.formatDate(DateUtils.addHours(new Date(), -72));
log.info("lostBegin===" + lostBegin); log.info("lostBegin===" + lostBegin);
Integer offLineAlarmCount = vehicleMapper.getOffLineAlarmCount(lostBegin); Integer offLineAlarmCount = vehicleMapper.getOffLineAlarmCount(lostBegin);
returnMap.put("offLineAlarmCount", offLineAlarmCount); returnMap.put("offLineAlarmCount", offLineAlarmCount);
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!