mirror of
http://192.168.1.205:9980/cf_devdept2/cf_imes_server.git
synced 2026-08-12 21:02:08 +08:00
Merge branch 'main' of http://192.168.1.205:9980/cf_devdept2/cf_imes_server
This commit is contained in:
+2
@@ -263,6 +263,8 @@ public class PermissionServiceImpl implements PermissionService {
|
|||||||
if(isOrganRole) {
|
if(isOrganRole) {
|
||||||
userIds = userRoleMapper.selectRoleUserIds(roleId).stream().map(UserRoleDO::getUserId).toList();
|
userIds = userRoleMapper.selectRoleUserIds(roleId).stream().map(UserRoleDO::getUserId).toList();
|
||||||
} else {
|
} else {
|
||||||
|
// 子线程补充上下文组织id
|
||||||
|
OrganContextHolder.setOrganId(organId);
|
||||||
userIds = userRoleMapper.selectOrgRoleUserIds(roleId).stream().map(UserRoleDO::getUserId).toList();
|
userIds = userRoleMapper.selectOrgRoleUserIds(roleId).stream().map(UserRoleDO::getUserId).toList();
|
||||||
}
|
}
|
||||||
if (CollUtil.isNotEmpty(userIds)) {
|
if (CollUtil.isNotEmpty(userIds)) {
|
||||||
|
|||||||
Reference in New Issue
Block a user