Browse Source

fix用户 角色筛选

tags/24080901
niohe·erbao 1 year ago
parent
commit
5bcc169e0e
1 changed files with 1 additions and 0 deletions
  1. +1
    -0
      pmapi/src/main/java/com/ningdatech/pmapi/user/manage/UserInfoManage.java

+ 1
- 0
pmapi/src/main/java/com/ningdatech/pmapi/user/manage/UserInfoManage.java View File

@@ -158,6 +158,7 @@ public class UserInfoManage {
* @param userRoleList
*/
private List<String> getRoleCompliantEmployeeCodeList(List<UserRoleVO> userRoleList) {
userRoleList = userRoleList.stream().filter(r -> Objects.nonNull(r.getId())).collect(Collectors.toList());
if (CollUtil.isEmpty(userRoleList)) {
return null;
}


Loading…
Cancel
Save