mirror of
http://192.168.1.205:9980/cf_devdept2/cf_imes_server.git
synced 2026-08-12 21:02:08 +08:00
角色管理:非内置角色修改权限缓存移除异常修复
This commit is contained in:
+2
@@ -263,6 +263,8 @@ public class PermissionServiceImpl implements PermissionService {
|
||||
if(isOrganRole) {
|
||||
userIds = userRoleMapper.selectRoleUserIds(roleId).stream().map(UserRoleDO::getUserId).toList();
|
||||
} else {
|
||||
// 子线程补充上下文组织id
|
||||
OrganContextHolder.setOrganId(organId);
|
||||
userIds = userRoleMapper.selectOrgRoleUserIds(roleId).stream().map(UserRoleDO::getUserId).toList();
|
||||
}
|
||||
if (CollUtil.isNotEmpty(userIds)) {
|
||||
|
||||
Reference in New Issue
Block a user