| | |
| | | userInfoDomainDTO.setRoles(roleBindDomainDTOList); |
| | | |
| | | //身份 |
| | | List<SysUserIdentityBindDomainDTO> userIdentityBindDomainDTOS = new ArrayList<>(); |
| | | if(user.getSysUserIdentityBinds() != null){ |
| | | user.getSysUserIdentityBinds().forEach(userIdentity ->{ |
| | | userIdentityBindDomainDTOS.add(toUserIndentityDomainDTO(userIdentity)); |
| | | }); |
| | | } |
| | | userInfoDomainDTO.setUserIdentities(userIdentityBindDomainDTOS); |
| | | //List<SysUserIdentityBindDomainDTO> userIdentityBindDomainDTOS = new ArrayList<>(); |
| | | //if(user.getSysUserIdentityBinds() != null){ |
| | | // user.getSysUserIdentityBinds().forEach(userIdentity ->{ |
| | | // userIdentityBindDomainDTOS.add(toUserIndentityDomainDTO(userIdentity)); |
| | | // }); |
| | | //} |
| | | //userInfoDomainDTO.setUserIdentities(userIdentityBindDomainDTOS); |
| | | //资质附件 |
| | | if(user.getQualificationAttachment() != null){ |
| | | AttachmentDomainDTO attachmentDomainDTO = new AttachmentDomainDTO(); |