修改 获得指定部门的所有子部门id的接口 设置为无数据权限接口
This commit is contained in:
parent
e363398132
commit
27c9d04e78
@ -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)) {
|
||||
|
Loading…
Reference in New Issue
Block a user