|  |  |  | 
|---|
|  |  |  | * 禁引可视域Controller | 
|---|
|  |  |  | * | 
|---|
|  |  |  | * @author ard | 
|---|
|  |  |  | * @date 2023-10-27 | 
|---|
|  |  |  | * @date 2023-10-28 | 
|---|
|  |  |  | */ | 
|---|
|  |  |  | @Api(tags = "禁引可视域管理接口") | 
|---|
|  |  |  | @RestController | 
|---|
|  |  |  | 
|---|
|  |  |  | */ | 
|---|
|  |  |  | @ApiOperation("获取禁引可视域详细信息") | 
|---|
|  |  |  | @PreAuthorize("@ss.hasPermi('device:noguidezone:query')") | 
|---|
|  |  |  | @GetMapping(value = "/{name}") | 
|---|
|  |  |  | public AjaxResult getInfo(@PathVariable("name") String name) | 
|---|
|  |  |  | @GetMapping(value = "/{id}") | 
|---|
|  |  |  | public AjaxResult getInfo(@PathVariable("id") String id) | 
|---|
|  |  |  | { | 
|---|
|  |  |  | return success(ardCameraNoGuideZoneService.selectArdCameraNoGuideZoneByName(name)); | 
|---|
|  |  |  | return success(ardCameraNoGuideZoneService.selectArdCameraNoGuideZoneById(id)); | 
|---|
|  |  |  | } | 
|---|
|  |  |  |  | 
|---|
|  |  |  | /** | 
|---|
|  |  |  | 
|---|
|  |  |  | @ApiOperation("删除禁引可视域") | 
|---|
|  |  |  | @PreAuthorize("@ss.hasPermi('device:noguidezone:remove')") | 
|---|
|  |  |  | @Log(title = "禁引可视域", businessType = BusinessType.DELETE) | 
|---|
|  |  |  | @DeleteMapping("/{names}") | 
|---|
|  |  |  | public AjaxResult remove(@PathVariable String[] names) | 
|---|
|  |  |  | @DeleteMapping("/{ids}") | 
|---|
|  |  |  | public AjaxResult remove(@PathVariable String[] ids) | 
|---|
|  |  |  | { | 
|---|
|  |  |  | return toAjax(ardCameraNoGuideZoneService.deleteArdCameraNoGuideZoneByNames(names)); | 
|---|
|  |  |  | return toAjax(ardCameraNoGuideZoneService.deleteArdCameraNoGuideZoneByIds(ids)); | 
|---|
|  |  |  | } | 
|---|
|  |  |  | } | 
|---|