修改 获得指定部门的所有子部门id的接口 设置为无数据权限接口
This commit is contained in:
parent
e363398132
commit
27c9d04e78
@ -113,6 +113,7 @@ public class DeptApiImpl implements DeptApi {
|
|||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
@DataPermission(enable = false)
|
||||||
public CommonResult<List<Long>> getChildDeptList(Long deptId) {
|
public CommonResult<List<Long>> getChildDeptList(Long deptId) {
|
||||||
List<DeptDO> deptDOS = deptService.getChildDeptList(deptId);
|
List<DeptDO> deptDOS = deptService.getChildDeptList(deptId);
|
||||||
if (CollectionUtil.isEmpty(deptDOS)) {
|
if (CollectionUtil.isEmpty(deptDOS)) {
|
||||||
|
Loading…
Reference in New Issue
Block a user