Excel 导表增加受试者状态列
parent
fee78546c0
commit
5bebaa247a
|
@ -1251,6 +1251,8 @@ namespace IRaCIS.Core.Application.Service.Common
|
|||
//Uploader = t.Uploader.UserName,
|
||||
//UploadTime = t.CreateTime
|
||||
|
||||
SubjectStatus=t.Subject.Status
|
||||
|
||||
});
|
||||
|
||||
var svExpression2 = QCCommon.GetNoneDicomStudySubjectVisitFilter(studyQuery.VisitPlanArray);
|
||||
|
@ -1283,7 +1285,7 @@ namespace IRaCIS.Core.Application.Service.Common
|
|||
|
||||
//Uploader = t.CreateUser.UserName,
|
||||
//UploadTime = t.CreateTime
|
||||
|
||||
SubjectStatus = t.Subject.Status
|
||||
});
|
||||
|
||||
|
||||
|
|
|
@ -318,6 +318,8 @@ namespace IRaCIS.Core.Application.Contracts
|
|||
|
||||
//审核通过时间
|
||||
public DateTime? AuditTime => QCProcessEnum == TrialQCProcess.SingleAudit ? PreliminaryAuditTime : (QCProcessEnum == TrialQCProcess.DoubleAudit ? ReviewAuditTime : null);
|
||||
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
@ -735,6 +737,8 @@ namespace IRaCIS.Core.Application.Contracts
|
|||
|
||||
public class UnionStudyExportDTO
|
||||
{
|
||||
[DictionaryTranslateAttribute("Subject_Visit_Status")]
|
||||
public SubjectStatus SubjectStatus { get; set; }
|
||||
|
||||
public string Modality { get; set; } = string.Empty;
|
||||
|
||||
|
|
|
@ -134,6 +134,7 @@ namespace IRaCIS.Core.Application.Service
|
|||
CreateMap<SubjectVisit, PMKCheckEXportDTO>()
|
||||
.ForMember(d => d.TalkContent, u => u.MapFrom(s => s.CheckChallengeDialogList.OrderByDescending(y => y.CreateTime).Select(x => x.TalkContent).FirstOrDefault()))
|
||||
.ForMember(d => d.SubjectCode, u => u.MapFrom(s => s.Subject.Code))
|
||||
.ForMember(d => d.SubjectStatus, u => u.MapFrom(s => s.Subject.Status))
|
||||
.ForMember(d => d.TrialSiteCode, u => u.MapFrom(s => s.TrialSite.TrialSiteCode))
|
||||
|
||||
.ForMember(d => d.CheckDialogList, u => u.MapFrom(s => s.CheckChallengeDialogList))
|
||||
|
|
Loading…
Reference in New Issue