| | |
| | | private SysDeptMapper sysDeptMapper; |
| | | @Resource |
| | | private RedisCache redisCache; |
| | | @Resource |
| | | private IHikClientService hikClientService; |
| | | |
| | | @Resource |
| | | private ArdChannelMapper ardChannelMapper; |
| | | |
| | |
| | | } |
| | | if (ardCameras.size() > 0) { |
| | | for (ArdCameras camera : ardCameras) { |
| | | ArdChannel ardChannel=new ArdChannel(); |
| | | ardChannel.setDeviceId(camera.getId()); |
| | | List<ArdChannel> ardChannels = ardChannelMapper.selectArdChannelList(ardChannel); |
| | | if(ardChannels!=null) |
| | | { |
| | | camera.setChannelList(ardChannels); |
| | | } |
| | | Map<String, Object> cameraMap = ArdTool.convertEntityToMap(camera); |
| | | childList.add(cameraMap); |
| | | } |