部门查询不限制数据权限
This commit is contained in:
@@ -762,6 +762,7 @@ public class DeptServiceImpl implements DeptService {
|
|||||||
return deptIds;
|
return deptIds;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@DataPermission(enable = false)
|
||||||
private Long resolveNearestCompanyId(Long deptId, Map<Long, DeptDO> deptCache) {
|
private Long resolveNearestCompanyId(Long deptId, Map<Long, DeptDO> deptCache) {
|
||||||
DeptDO current = loadDept(deptId, deptCache);
|
DeptDO current = loadDept(deptId, deptCache);
|
||||||
while (current != null) {
|
while (current != null) {
|
||||||
|
|||||||
Reference in New Issue
Block a user