Compare commits
No commits in common. "e4cf4cc8b84965a7926fe2c91da3277c4ee42431" and "253084393141437294af14d3deeffe4c12f9087a" have entirely different histories.
e4cf4cc8b8
...
2530843931
|
|
@ -346,8 +346,6 @@ namespace IRaCIS.Application.Contracts
|
|||
public DateTime UpdateTime { get; set; } = DateTime.Now;
|
||||
public Guid CreateUserId { get; set; }
|
||||
public DateTime CreateTime { get; set; } = DateTime.Now;
|
||||
|
||||
public int? SCPStudyCount { get; set; }
|
||||
}
|
||||
|
||||
public class UpdateSubjectVisitStudyBindingCommand
|
||||
|
|
|
|||
|
|
@ -112,8 +112,7 @@ namespace IRaCIS.Core.Application.Service
|
|||
CreateMap<SCPPatient, PatientQueryView>()
|
||||
.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.PatientId, u => u.MapFrom(s => s.Id))
|
||||
.ForMember(d => d.SCPStudyCount, u => u.MapFrom(s => s.SCPStudyList.Count()));
|
||||
.ForMember(d => d.PatientId, u => u.MapFrom(s => s.Id));
|
||||
|
||||
CreateMap<SCPStudySubjectVisit, VisitPatientStudyView>().IncludeMembers(t => t.SCPStudy)
|
||||
.ForMember(d => d.VisitName, u => u.MapFrom(s => s.SubjectVisit.VisitName));
|
||||
|
|
|
|||
Loading…
Reference in New Issue