|
@@ -696,9 +696,11 @@ public class DmpDeviceInfoServiceImpl extends AbstractCrudService<DmpDeviceInfoM
|
|
|
deviceIdList.add(list1.get(i).getDeviceId());
|
|
|
}
|
|
|
Integer alarmCount = baseMapper.baseAlarmCount(deviceIdList);
|
|
|
+ Integer faultCount = baseMapper.baseFaultCount(deviceIdList);
|
|
|
Integer offlineCount = baseMapper.deviceOfflineCount(deviceIdList);
|
|
|
DataTVStatisticResponseVO responseVO = new DataTVStatisticResponseVO();
|
|
|
responseVO.setAlarmNum(alarmCount);
|
|
|
+ responseVO.setFaultNum(faultCount);
|
|
|
responseVO.setOfflineNum(offlineCount);
|
|
|
list.add(responseVO);
|
|
|
}
|