mirror of https://gitee.com/stylefeng/roses
【8.3.3】【dataScope】更新获取指定层级及以下的数据范围的获取
parent
ffcd70ab4b
commit
5ed091836a
|
@ -158,7 +158,9 @@ public class UserRoleDataScopeImpl implements UserRoleDataScopeApi {
|
|||
|
||||
// 如果是32-指定机构层级及以下
|
||||
else if (DataScopeTypeEnum.DEFINE_ORG_LEVEL_WITH_CHILD.getCode().equals(sysRoleDataScope.getDataScopeType())) {
|
||||
// todo
|
||||
Long parentOrgLevelOrgId = organizationServiceApi.getParentOrgLevel(loginUser.getCurrentOrgId(), sysRoleDataScope.getOrgLevelCode());
|
||||
Set<Long> subOrgIdList = this.getPointOrgAndSub(parentOrgLevelOrgId);
|
||||
userOrgIdList.addAll(subOrgIdList);
|
||||
}
|
||||
|
||||
// 如果是40-指定机构集合数据
|
||||
|
|
Loading…
Reference in New Issue