| | |
| | | import com.ruoyi.common.constant.CameraConstants;
|
| | | import com.ruoyi.device.camera.domain.ArdCameras;
|
| | | import com.ruoyi.device.camera.domain.CameraCmd;
|
| | | import com.ruoyi.device.camera.domain.DeptAndCamerasDto;
|
| | | import com.ruoyi.device.camera.service.IArdCamerasService;
|
| | | import com.ruoyi.device.camera.service.ICameraSdkService;
|
| | | import com.ruoyi.common.utils.poi.ExcelUtil;
|
| | |
| | | Map deptAndCamera = ardCamerasService.getChildDeptAndCamera(true);
|
| | | return AjaxResult.success(deptAndCamera);
|
| | | }
|
| | |
|
| | | @GetMapping("/getDeptAndCamera1")
|
| | | @ApiOperation("获取部门和相机1")
|
| | | public AjaxResult getDeptAndCamera1() {
|
| | | List<DeptAndCamerasDto> deptAndCamera = ardCamerasService.getChildDeptAndCamera();
|
| | | return AjaxResult.success(deptAndCamera);
|
| | | }
|
| | | @GetMapping("/getDeptAndCameraWithCheckBox")
|
| | | @ApiOperation("获取部门和相机(开启复选框)")
|
| | | public AjaxResult getDeptAndCameraWithCheckBox() {
|