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

Merge pull request !79 from zyk492322922/master
This commit is contained in:
芋道源码 2022-02-15 10:38:35 +00:00 committed by Gitee
commit b1d42becc3
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
public Set<Long> getUserRoleIdListByRoleIds(Collection<Long> roleIds) {
return CollectionUtils.convertSet(userRoleMapper.selectListByRoleIds(roleIds),
UserRoleDO::getRoleId);
UserRoleDO::getUserId);
}
}