界面增加检查数量
parent
e63d6ba652
commit
ed580eab74
|
|
@ -346,6 +346,8 @@ namespace IRaCIS.Application.Contracts
|
||||||
public DateTime UpdateTime { get; set; } = DateTime.Now;
|
public DateTime UpdateTime { get; set; } = DateTime.Now;
|
||||||
public Guid CreateUserId { get; set; }
|
public Guid CreateUserId { get; set; }
|
||||||
public DateTime CreateTime { get; set; } = DateTime.Now;
|
public DateTime CreateTime { get; set; } = DateTime.Now;
|
||||||
|
|
||||||
|
public int? SCPStudyCount { get; set; }
|
||||||
}
|
}
|
||||||
|
|
||||||
public class UpdateSubjectVisitStudyBindingCommand
|
public class UpdateSubjectVisitStudyBindingCommand
|
||||||
|
|
|
||||||
|
|
@ -112,7 +112,8 @@ namespace IRaCIS.Core.Application.Service
|
||||||
CreateMap<SCPPatient, PatientQueryView>()
|
CreateMap<SCPPatient, PatientQueryView>()
|
||||||
.ForMember(d => d.CalledAEList, u => u.MapFrom(s => s.SCPStudyList.Select(t => t.CalledAE).Distinct()))
|
.ForMember(d => d.CalledAEList, u => u.MapFrom(s => s.SCPStudyList.Select(t => t.CalledAE).Distinct()))
|
||||||
.ForMember(d => d.CallingAEList, u => u.MapFrom(s => s.SCPStudyList.Select(t => t.CallingAE).Distinct()))
|
.ForMember(d => d.CallingAEList, u => u.MapFrom(s => s.SCPStudyList.Select(t => t.CallingAE).Distinct()))
|
||||||
.ForMember(d => d.PatientId, u => u.MapFrom(s => s.Id));
|
.ForMember(d => d.PatientId, u => u.MapFrom(s => s.Id))
|
||||||
|
.ForMember(d => d.SCPStudyCount, u => u.MapFrom(s => s.SCPStudyList.Count()));
|
||||||
|
|
||||||
CreateMap<SCPStudySubjectVisit, VisitPatientStudyView>().IncludeMembers(t => t.SCPStudy)
|
CreateMap<SCPStudySubjectVisit, VisitPatientStudyView>().IncludeMembers(t => t.SCPStudy)
|
||||||
.ForMember(d => d.VisitName, u => u.MapFrom(s => s.SubjectVisit.VisitName));
|
.ForMember(d => d.VisitName, u => u.MapFrom(s => s.SubjectVisit.VisitName));
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue