fix(我的绩效): 放开调用/list-self-and-children接口的权限。

This commit is contained in:
dk
2026-06-23 09:39:16 +08:00
parent b2f8de7f80
commit 5cabc7c541

View File

@@ -97,7 +97,7 @@ public class DeptController {
@GetMapping("/list-self-and-children")
@Operation(summary = "获取部门自身及全部子部门")
@Parameter(name = "id", description = "部门编号", required = true, example = "1024")
@PreAuthorize("@ss.hasPermission('system:dept:query')")
//@PreAuthorize("@ss.hasPermission('system:dept:query')")
public CommonResult<List<DeptSimpleRespVO>> getDeptSelfAndChildren(@RequestParam("id") Long id) {
DeptDO self = deptService.getDept(id);
if (self == null) {