| | |
| | | * app巡检计划人员Controller |
| | | * |
| | | * @author ard |
| | | * @date 2023-08-02 |
| | | * @date 2023-08-04 |
| | | */ |
| | | @RestController |
| | | @RequestMapping("/app/patroluser") |
| | |
| | | * 获取app巡检计划人员详细信息 |
| | | */ |
| | | @PreAuthorize("@ss.hasPermi('app:patroluser:query')") |
| | | @GetMapping(value = "/{reserved1}") |
| | | public AjaxResult getInfo(@PathVariable("reserved1") String reserved1) |
| | | @GetMapping(value = "/{id}") |
| | | public AjaxResult getInfo(@PathVariable("id") String id) |
| | | { |
| | | return success(ardAppPatroluserService.selectArdAppPatroluserByReserved1(reserved1)); |
| | | return success(ardAppPatroluserService.selectArdAppPatroluserById(id)); |
| | | } |
| | | |
| | | /** |
| | |
| | | */ |
| | | @PreAuthorize("@ss.hasPermi('app:patroluser:remove')") |
| | | @Log(title = "app巡检计划人员", businessType = BusinessType.DELETE) |
| | | @DeleteMapping("/{reserved1s}") |
| | | public AjaxResult remove(@PathVariable String[] reserved1s) |
| | | @DeleteMapping("/{ids}") |
| | | public AjaxResult remove(@PathVariable String[] ids) |
| | | { |
| | | return toAjax(ardAppPatroluserService.deleteArdAppPatroluserByReserved1s(reserved1s)); |
| | | return toAjax(ardAppPatroluserService.deleteArdAppPatroluserByIds(ids)); |
| | | } |
| | | } |