From 02e5d770db3518cfbac810566befbeeaabfbd322 Mon Sep 17 00:00:00 2001 From: hang <872297557@qq.com> Date: Thu, 27 Feb 2025 16:14:46 +0800 Subject: [PATCH] =?UTF-8?q?=E5=A2=9E=E5=8A=A0=E6=9F=A5=E8=AF=A2=E9=85=8D?= =?UTF-8?q?=E7=BD=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- IRaCIS.Core.Application/Service/QC/DTO/QARecordViewModel.cs | 5 +++++ IRaCIS.Core.Application/Service/QC/_MapConfig.cs | 5 ++++- 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/IRaCIS.Core.Application/Service/QC/DTO/QARecordViewModel.cs b/IRaCIS.Core.Application/Service/QC/DTO/QARecordViewModel.cs index 6503dfbe7..9bf2f1f48 100644 --- a/IRaCIS.Core.Application/Service/QC/DTO/QARecordViewModel.cs +++ b/IRaCIS.Core.Application/Service/QC/DTO/QARecordViewModel.cs @@ -355,8 +355,13 @@ namespace IRaCIS.Core.Application.Contracts.DTO public int? NotClosedChallengeCount { get; set; } + public List StudyNameList { get; set; } + public List ImageFormatList { get; set; } + + public bool IsShowStudyName { get; set; } = false; + } public class QAStudyInfoDTO { diff --git a/IRaCIS.Core.Application/Service/QC/_MapConfig.cs b/IRaCIS.Core.Application/Service/QC/_MapConfig.cs index 68377244a..2f280ab19 100644 --- a/IRaCIS.Core.Application/Service/QC/_MapConfig.cs +++ b/IRaCIS.Core.Application/Service/QC/_MapConfig.cs @@ -592,7 +592,10 @@ namespace IRaCIS.Core.Application.Service .ForMember(d => d.SubjectFirstGiveMedicineTime, u => u.MapFrom(s => s.Subject.FirstGiveMedicineTime)) .ForMember(d => d.SiteName, u => u.MapFrom(s => s.TrialSite.TrialSiteName)) .ForMember(d => d.TotalChallengeCount, u => u.MapFrom(s => s.QCChallengeList.Count())) - .ForMember(d => d.NotClosedChallengeCount, u => u.MapFrom(s => s.QCChallengeList.Count(c => c.IsClosed == false))); + .ForMember(d => d.NotClosedChallengeCount, u => u.MapFrom(s => s.QCChallengeList.Count(c => c.IsClosed == false))) + .ForMember(d => d.IsShowStudyName, u => u.MapFrom(s => s.Trial.IsShowStudyName)) + .ForMember(d => d.StudyNameList, u => u.MapFrom(s => s.Trial.StudyNameList)) + .ForMember(d => d.ImageFormatList, u => u.MapFrom(s => s.Trial.ImageFormatList)); CreateMap(MemberList.None);