当前登录用户得课题组
continuous-integration/drone/push Build is passing
Details
continuous-integration/drone/push Build is passing
Details
parent
26e7305bcf
commit
aafc1cd064
|
|
@ -262,7 +262,7 @@ namespace IRaCIS.Application.Contracts
|
||||||
{
|
{
|
||||||
public string Name { get; set; }
|
public string Name { get; set; }
|
||||||
|
|
||||||
public string Code { get; set; }
|
public string CallingAE { get; set; } = string.Empty;
|
||||||
}
|
}
|
||||||
|
|
||||||
public class UserHospitalGroupInfo
|
public class UserHospitalGroupInfo
|
||||||
|
|
|
||||||
|
|
@ -74,7 +74,7 @@ namespace IRaCIS.Core.Application.Service
|
||||||
.ForMember(d => d.UserType, u => u.MapFrom(t => t.UserTypeName));
|
.ForMember(d => d.UserType, u => u.MapFrom(t => t.UserTypeName));
|
||||||
|
|
||||||
CreateMap<IdentityUser, UserDetailDTO>()
|
CreateMap<IdentityUser, UserDetailDTO>()
|
||||||
.ForMember(d => d.HospitalGroupList, u => u.MapFrom(s => s.IdentityUserHospitalGroupList.Select(t => new UserHospitalGroupInfoWithName() { HospitalGroupId = t.HospitalGroupId, IsDisabled = t.IsDisabled, Name = t.HospitalGroup.Name,Code=t.HospitalGroup.Code })));
|
.ForMember(d => d.HospitalGroupList, u => u.MapFrom(s => s.IdentityUserHospitalGroupList.Select(t => new UserHospitalGroupInfoWithName() { HospitalGroupId = t.HospitalGroupId, IsDisabled = t.IsDisabled, Name = t.HospitalGroup.Name, CallingAE = t.HospitalGroup.CallingAE })));
|
||||||
|
|
||||||
|
|
||||||
CreateMap<IdentityUser, UserListDTO>()
|
CreateMap<IdentityUser, UserListDTO>()
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue