| | |
| | | detectionVO.setVideo(iVideoPointService.count()); |
| | | detectionVO.setIndividual(iHandheldTerminalService.count()); |
| | | detectionVO.setLampblack(iEfficiencyService.getSmokeCustomer()); |
| | | /// TODO: 2022/12/13 缺少油烟机监控表 |
| | | detectionVO.setLoudspeaker(loudspeakerService.count()); |
| | | |
| | | detectionVO.setLoudspeaker(34L); |
| | | detectionVO.setSlagCar(iCarSlagcarService.count()); |
| | | return CommonResult.success(detectionVO); |
| | | } |
| | |
| | | /// TODO: 2022/12/13 视频点位设备为空 没数据 |
| | | List<VideoPoint> list = iVideoPointService.list(new LambdaQueryWrapper<VideoPoint>() |
| | | .eq(params.getStreetId() != null, VideoPoint::getStreetId, params.getStreetId()) |
| | | .isNotNull(VideoPoint::getPlatResourceId)); |
| | | .isNotNull(VideoPoint::getPlatResourceId).orderByDesc(VideoPoint::getId)); |
| | | |
| | | List<VideoVO> vos = list.stream().map(item -> { |
| | | VideoVO videoVO = new VideoVO(); |