refactor(permission2identity): 增加返回personalId
This commit is contained in:
parent
01735461a2
commit
761ae92ca3
@ -32,6 +32,8 @@ public class ListIdentityFromPermissionResp {
|
||||
|
||||
private Integer identityType;
|
||||
|
||||
private Long personalId;
|
||||
|
||||
private boolean isSuperAdmin;
|
||||
}
|
||||
}
|
||||
|
||||
@ -617,7 +617,7 @@ public class TyrSaasAuthServiceImpl implements TyrSaasAuthService {
|
||||
if (!filterSet.contains(key)) {
|
||||
filterSet.add(key);
|
||||
ListIdentityFromPermissionResp.UserVO user = new ListIdentityFromPermissionResp.UserVO(relation.getIdentityId(),
|
||||
relation.getIdentityType(), superAdmins.contains(relation.getIdentityId()));
|
||||
relation.getIdentityType(), relation.getNaturalPersonId(), superAdmins.contains(relation.getIdentityId()));
|
||||
users.add(user);
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user