diff --git a/yudao-module-system/yudao-module-system-impl/src/main/java/cn/iocoder/yudao/module/system/service/permission/PermissionServiceImpl.java b/yudao-module-system/yudao-module-system-impl/src/main/java/cn/iocoder/yudao/module/system/service/permission/PermissionServiceImpl.java index 864509f35..12e3fbcde 100644 --- a/yudao-module-system/yudao-module-system-impl/src/main/java/cn/iocoder/yudao/module/system/service/permission/PermissionServiceImpl.java +++ b/yudao-module-system/yudao-module-system-impl/src/main/java/cn/iocoder/yudao/module/system/service/permission/PermissionServiceImpl.java @@ -406,7 +406,7 @@ public class PermissionServiceImpl implements PermissionService { @Override public Set getUserRoleIdListByRoleIds(Collection roleIds) { return CollectionUtils.convertSet(userRoleMapper.selectListByRoleIds(roleIds), - UserRoleDO::getRoleId); + UserRoleDO::getUserId); } }