longz
2026-06-29 9d4cbff7464ebfd7803c2ce53ded49d0f73fe011
backend/src/main/java/com/sinata/appointment/controller/DeptManageController.java
@@ -35,7 +35,7 @@
    private final DeptManageApplicationService deptManageApplicationService;
    @Operation(summary = "部门树(含禁用部门,最多五级)")
    @Operation(summary = "部门树")
    @GetMapping("/tree")
    @SaCheckPermission(
            value = {
@@ -57,7 +57,7 @@
        return ResultUtil.data(deptManageApplicationService.create(request));
    }
    @Operation(summary = "编辑部门(body 须含 uuid)")
    @Operation(summary = "编辑部门")
    @PutMapping("/{id}")
    @SaCheckPermission("sys:depts:update")
    public Result<Void> update(@PathVariable Long id, @Valid @RequestBody DeptUpdateRequest request) {
@@ -65,7 +65,7 @@
        return ResultUtil.success();
    }
    @Operation(summary = "删除(逻辑删除,无下级时允许)")
    @Operation(summary = "删除")
    @DeleteMapping("/{id}")
    @SaCheckPermission("sys:depts:delete")
    public Result<Void> delete(
@@ -74,3 +74,4 @@
        return ResultUtil.success();
    }
}