【8.3.3】【dataScope】更新获取指定层级及以下的数据范围的获取

pull/62/head
stylefeng 2025-01-26 15:39:32 +08:00
parent ffcd70ab4b
commit 5ed091836a
1 changed files with 3 additions and 1 deletions

View File

@ -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-指定机构集合数据