| | |
| | | |
| | | private final PassAreaManageApplicationService passAreaManageApplicationService; |
| | | |
| | | @Operation(summary = "分页列表(pid=0 一级;传父级 id 查子区域)") |
| | | @Operation(summary = "分页列表") |
| | | @GetMapping |
| | | @SaCheckPermission(value = {"sys:pass-areas:page", "appointments:page"}, mode = SaMode.OR) |
| | | public Result<java.util.List<PassAreaListVo>> page( |
| | |
| | | passAreaManageApplicationService.page(page, size, pid, areaName)); |
| | | } |
| | | |
| | | @Operation(summary = "详情(须 uuid)") |
| | | @Operation(summary = "详情") |
| | | @GetMapping("/{id}") |
| | | @SaCheckPermission("sys:pass-areas:detail") |
| | | public Result<PassAreaDetailVo> detail( |
| | |
| | | return ResultUtil.success(); |
| | | } |
| | | |
| | | @Operation(summary = "删除(逻辑删除;有子区域时不允许)") |
| | | @Operation(summary = "删除") |
| | | @DeleteMapping("/{id}") |
| | | @SaCheckPermission("sys:pass-areas:delete") |
| | | public Result<Void> delete( |
| | |
| | | return ResultUtil.success(); |
| | | } |
| | | } |
| | | |