获取用户详情返回数组
continuous-integration/drone/push Build is passing
Details
continuous-integration/drone/push Build is passing
Details
parent
1847e6f76f
commit
ce25556a9f
|
|
@ -171,6 +171,8 @@ namespace IRaCIS.Application.Contracts
|
|||
public Guid Id { get; set; }
|
||||
|
||||
public List<UserAccountInfo> AccountList { get; set; }
|
||||
|
||||
public List<Guid> HospitalGroupIdList { get; set; }
|
||||
}
|
||||
|
||||
public class UserInfo
|
||||
|
|
|
|||
|
|
@ -73,7 +73,8 @@ namespace IRaCIS.Core.Application.Service
|
|||
CreateMap<UserType, TrialUserType>()
|
||||
.ForMember(d => d.UserType, u => u.MapFrom(t => t.UserTypeName));
|
||||
|
||||
CreateMap<IdentityUser, UserDetailDTO>();
|
||||
CreateMap<IdentityUser, UserDetailDTO>()
|
||||
.ForMember(d => d.HospitalGroupIdList, u => u.MapFrom(s => s.IdentityUserHospitalGroupList.Select(t => t.HospitalGroupId)));
|
||||
|
||||
|
||||
CreateMap<IdentityUser, UserListDTO>()
|
||||
|
|
|
|||
Loading…
Reference in New Issue