feat:(REQ-2720) 查询人员信息增加身份id返回

This commit is contained in:
lilong 2024-07-29 17:41:07 +08:00
parent 5e847bea8b
commit 8d4f04359d
2 changed files with 3 additions and 1 deletions

View File

@ -209,6 +209,8 @@ public class SaasRoleUserRelationServiceImpl extends ServiceImpl<SaasRoleUserRel
.realName(Optional.ofNullable(saasRoleUsers.get(saasRoleUserRelation.getNaturalPersonId()))
.map(SaasRoleUserV2DTO.SaasRoleUser::getRealName)
.orElse(null))
.identityType(saasRoleUserRelation.getIdentityType())
.identityId(saasRoleUserRelation.getIdentityId())
.build();
return SaasRoleUserV2DTO.builder()

View File

@ -149,7 +149,7 @@ public class TyrSaasAuthServiceImpl implements TyrSaasAuthService {
private final FeatureCodeUtil featureCodeUtil;
private final SaasPgroupRoleRelationDao saasPgroupRoleRelationDao;
private final RolePermissionCacheService rolePermissionCacheService;
private SaasRoleUserRelationMapper saasRoleUserRelationMapper;
private final SaasRoleUserRelationMapper saasRoleUserRelationMapper;
/**
* 通过身份查询人员权限