feat: (feature/REQ-2595) 修改更新菜单角色时的bug

This commit is contained in:
lilong 2024-11-01 14:58:43 +08:00
parent 0eb7bcd5bb
commit 62da7a00d2

View File

@ -1646,7 +1646,7 @@ public class RoleServiceImpl extends ServiceImpl<SaasRoleMapper, SaasRole>
}
// 新增的
if (CollectionUtils.isNotEmpty(insert)) {
Set<SaasPgroupPermissionRelation> insertRelation = update.stream()
Set<SaasPgroupPermissionRelation> insertRelation = insert.stream()
.map(group -> {
FeatureRoleRelationReq.Role role = roles.get(group.getRoleId());