| | |
| | | Map option = new HashMap(); |
| | | option.put("value", item.getId()); |
| | | option.put("label", item.getName()); |
| | | option.put("channel", item.getChannel()); |
| | | option.put("channel", item.getChanNo()); |
| | | List timeList = ardVideoInspectTaskService.getCameraIdleTimeList(item.getId()); |
| | | option.put("idleTimeList", timeList);//空闲时间段 |
| | | options.add(option); |
| | |
| | | @ApiOperation("获取部门和相机") |
| | | public AjaxResult getDeptAndCamera() |
| | | { |
| | | Map deptAndCamera = ardCamerasService.getChildDeptAndCamera(); |
| | | Map deptAndCamera = ardCamerasService.getChildDeptAndCamera(true); |
| | | return AjaxResult.success(deptAndCamera); |
| | | } |
| | | @GetMapping("/getDeptAndCameraWithCheckBox") |
| | | @ApiOperation("获取部门和相机(开启复选框)") |
| | | public AjaxResult getDeptAndCameraWithCheckBox() |
| | | { |
| | | Map deptAndCamera = ardCamerasService.getChildDeptAndCamera(false); |
| | | return AjaxResult.success(deptAndCamera); |
| | | } |
| | | @PostMapping("/getNearCamerasBycoordinate") |