| | |
| | | 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 io.swagger.annotations.Api; |
| | | import io.swagger.annotations.ApiOperation; |
| | | import lombok.extern.slf4j.Slf4j; |
| | |
| | | Map option = new HashMap(); |
| | | option.put("value", item.getId()); |
| | | option.put("label", item.getName()); |
| | | option.put("channel", item.getChannel()); |
| | | // option.put("description", item.getOilProduction()); |
| | | options.add(option); |
| | | } |
| | | return options; |
| | | } |
| | | |
| | | @GetMapping("/getDeptAndCamera") |
| | | @ApiOperation("获取部门和相机") |
| | | public AjaxResult getDeptAndCamera() |
| | | { |
| | | Map deptAndCamera = ardCamerasService.getChildDeptAndCamera(); |
| | | return AjaxResult.success(deptAndCamera); |
| | | } |
| | | } |