## 修复 根据角色查询用户id的bug

This commit is contained in:
zyk492322922 2022-02-15 08:49:01 +00:00 committed by Gitee
parent c0bebb7755
commit 878a0ef638
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F

View File

@ -406,7 +406,7 @@ public class PermissionServiceImpl implements PermissionService {
@Override @Override
public Set<Long> getUserRoleIdListByRoleIds(Collection<Long> roleIds) { public Set<Long> getUserRoleIdListByRoleIds(Collection<Long> roleIds) {
return CollectionUtils.convertSet(userRoleMapper.selectListByRoleIds(roleIds), return CollectionUtils.convertSet(userRoleMapper.selectListByRoleIds(roleIds),
UserRoleDO::getRoleId); UserRoleDO::getUserId);
} }
} }