|
@@ -1120,7 +1120,7 @@ public class BaseCameraManagementController extends BaseController {
|
|
|
List<DeviceStateResp> isDisable = deviceStateRespList.stream().filter(f -> f.getIsDisable().equals("2")).collect(Collectors.toList());
|
|
|
map.put("isDisable", isDisable.size());
|
|
|
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());
|
|
|
map.put("electricity", electricity.size());
|
|
|
map.put("count", isDisable.size() + electricity.size());
|
|
|
map.put("readCount", isDisable.size()+electricity.size());
|