feat: (feature/REQ-2595) 菜单管理编辑角色权限增加角色权限标签
This commit is contained in:
parent
69da738ffb
commit
05b0590605
@ -1562,9 +1562,11 @@ public class RoleServiceImpl extends ServiceImpl<SaasRoleMapper, SaasRole>
|
||||
}
|
||||
|
||||
Set<Long> newRoleIds = req.stream()
|
||||
.map(FeatureRoleRelationReq.RelationRoleSettings::getRoleIds)
|
||||
.map(FeatureRoleRelationReq.RelationRoleSettings::getRoles)
|
||||
.filter(Objects::nonNull)
|
||||
.flatMap(Collection::stream)
|
||||
.map(FeatureRoleRelationReq.Role::getRoleId)
|
||||
.filter(Objects::nonNull)
|
||||
.collect(Collectors.toSet());
|
||||
|
||||
List<Long> featureIds = req.stream()
|
||||
|
||||
Loading…
Reference in New Issue
Block a user