| | |
| | | import com.ruoyi.device.camera.domain.CameraCmd; |
| | | import com.ruoyi.device.camera.service.IArdCamerasService; |
| | | import com.ruoyi.device.hiksdk.service.impl.HikClientServiceImpl; |
| | | import com.ruoyi.common.utils.SecurityUtils; |
| | | import com.ruoyi.common.utils.poi.ExcelUtil; |
| | | import com.ruoyi.system.service.ISysDeptService; |
| | | import com.ruoyi.inspect.service.IArdVideoInspectTaskService; |
| | | import io.swagger.annotations.Api; |
| | | import io.swagger.annotations.ApiOperation; |
| | |
| | | import com.ruoyi.common.core.domain.AjaxResult; |
| | | import com.ruoyi.common.enums.BusinessType; |
| | | import com.ruoyi.common.core.page.TableDataInfo; |
| | | |
| | | import java.util.*; |
| | | |
| | | /** |
| | |
| | | @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") |