Commit 5df9b869 authored by 赵啸非's avatar 赵啸非

添加设备告警

parent 3acb9bc3
......@@ -86,7 +86,7 @@ public class DeviceStatTaskImpl implements ITaskExcuteService {
return null;
}).filter(f->f!=null).collect(Collectors.toList());
log.info("更新设备下线:{} ,时间:{}", JSON.toJSONString(collect),DateUtils.getStrDateTime(new Date(System.currentTimeMillis() - timeout));
log.info("更新设备下线:{} ,时间:{}", JSON.toJSONString(collect),DateUtils.getStrDateTime(new Date(System.currentTimeMillis() - timeout)));
deviceService.update(collect,null);
List<DeviceAlarmEntity> alarmEntityList = collect.stream().map(device -> {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment