mirror of
				https://github.com/dromara/RuoYi-Vue-Plus.git
				synced 2025-11-04 16:23:42 +08:00 
			
		
		
		
	fix 修复 查询审核人权限不够问题
This commit is contained in:
		@@ -636,7 +636,10 @@ public class SysUserServiceImpl implements ISysUserService, UserService {
 | 
			
		||||
        if (CollUtil.isEmpty(userIds)) {
 | 
			
		||||
            return List.of();
 | 
			
		||||
        }
 | 
			
		||||
        List<SysUserVo> list = this.selectUserByIds(userIds, null);
 | 
			
		||||
        List<SysUserVo> list = baseMapper.selectVoList(new LambdaQueryWrapper<SysUser>()
 | 
			
		||||
            .select(SysUser::getUserId, SysUser::getUserName, SysUser::getNickName)
 | 
			
		||||
            .eq(SysUser::getStatus, UserConstants.USER_NORMAL)
 | 
			
		||||
            .in(CollUtil.isNotEmpty(userIds), SysUser::getUserId, userIds));
 | 
			
		||||
        return BeanUtil.copyToList(list, UserDTO.class);
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user