|
@@ -1120,7 +1120,7 @@ public class BaseCameraManagementController extends BaseController {
|
|
DeviceStateResp deviceStateResp = (DeviceStateResp) dataScoreUtil.setDataScore(getUserId(), deviceStateResp1);
|
|
DeviceStateResp deviceStateResp = (DeviceStateResp) dataScoreUtil.setDataScore(getUserId(), deviceStateResp1);
|
|
List<DeviceStateResp> deviceStateRespList = baseCameraManagementService.deviceStateRespList(deviceStateResp);
|
|
List<DeviceStateResp> deviceStateRespList = baseCameraManagementService.deviceStateRespList(deviceStateResp);
|
|
log.info("getMalfunctionAndLowCameraManagement------------------------" + deviceStateRespList.toString());
|
|
log.info("getMalfunctionAndLowCameraManagement------------------------" + deviceStateRespList.toString());
|
|
- List<DeviceStateResp> isDisable = deviceStateRespList.stream().filter(f -> f.getIsDisable().equals(2)).collect(Collectors.toList());
|
|
|
|
|
|
+ List<DeviceStateResp> isDisable = deviceStateRespList.stream().filter(f -> f.getIsDisable().equals("故障")).collect(Collectors.toList());
|
|
map.put("isDisable", isDisable.size());
|
|
map.put("isDisable", isDisable.size());
|
|
LambdaQueryWrapper<BaseDeviceDynamicManagement> queryWrapper = new LambdaQueryWrapper<>();
|
|
LambdaQueryWrapper<BaseDeviceDynamicManagement> queryWrapper = new LambdaQueryWrapper<>();
|
|
List<DeviceStateResp> electricity = deviceStateRespList.stream().filter(f -> f.getElectricity() <= 10).collect(Collectors.toList());
|
|
List<DeviceStateResp> electricity = deviceStateRespList.stream().filter(f -> f.getElectricity() <= 10).collect(Collectors.toList());
|