Commit 2af08e15 authored by 赵啸非's avatar 赵啸非

添加设备上线和下线的业务日志记录

parent f1cfe901
......@@ -69,15 +69,9 @@ public class DeviceAlarmInfoServiceImpl extends AbstractCRUDServiceImpl<DeviceAl
DeviceAlarmInfoQuery deviceAlarmInfoQuery = new DeviceAlarmInfoQuery();
deviceAlarmInfoQuery.setAlarmTimeStart(DateUtil.today());
deviceAlarmInfoQuery.setAlarmTimeEnd(DateUtil.today());
List<OrderCol> orderCols = new ArrayList<>();
OrderCol orderCol = new OrderCol();
orderCol.setColName("alarmTime");
orderCol.setSortKind(OrderCol.DESCENDING);
orderCols.add(orderCol);
deviceAlarmInfoQuery.setOrderColList(orderCols);
deviceAlarmInfoQuery.setOrderColList(Arrays.asList(new OrderCol("alarmTime",OrderCol.DESCENDING)));
List<DeviceAlarmInfoEntity> deviceAlarmInfoList = this.find(deviceAlarmInfoQuery);
//统计总设备数量
List<DeviceEntity> deviceList = deviceService.find(new DeviceQuery().siteId(siteId));
//设备总量
......
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