修改 获得指定部门的所有子部门id的接口 设置为无数据权限接口

This commit is contained in:
furongxin 2024-09-01 15:17:12 +08:00
parent e363398132
commit 27c9d04e78

View File

@ -113,6 +113,7 @@ public class DeptApiImpl implements DeptApi {
}
@Override
@DataPermission(enable = false)
public CommonResult<List<Long>> getChildDeptList(Long deptId) {
List<DeptDO> deptDOS = deptService.getChildDeptList(deptId);
if (CollectionUtil.isEmpty(deptDOS)) {