feat:(REQ-2750) 处理岗位角色限制配置为null的情况
This commit is contained in:
parent
a1bedadf51
commit
5210de5c3a
@ -169,6 +169,7 @@ public class RoleUserService implements SaasRoleUserService {
|
|||||||
.build()), "查询岗位角色限制配置", personJobIds)
|
.build()), "查询岗位角色限制配置", personJobIds)
|
||||||
.stream()
|
.stream()
|
||||||
.map(OrgJobRes::getExcludeRoleIds)
|
.map(OrgJobRes::getExcludeRoleIds)
|
||||||
|
.filter(Objects::nonNull)
|
||||||
.flatMap(Collection::stream)
|
.flatMap(Collection::stream)
|
||||||
.collect(Collectors.toSet());
|
.collect(Collectors.toSet());
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user