From 553a8d392f196ff7c742fc867a119e713f4c98b4 Mon Sep 17 00:00:00 2001 From: he <109787524@qq.com> Date: Thu, 27 Feb 2025 11:33:31 +0800 Subject: [PATCH 1/2] =?UTF-8?q?=E6=9F=A5=E8=AF=A2=E8=BF=94=E5=9B=9E?= =?UTF-8?q?=E6=A3=80=E6=9F=A5=E5=90=8D=E7=A7=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../Service/QC/DTO/NoneDicomStudyViewModel.cs | 2 ++ .../Service/QC/DTO/QARecordViewModel.cs | 4 ++++ .../Service/QC/QCOperationService.cs | 2 ++ .../Service/TrialSiteUser/DTO/TrialConfigDTO.cs | 17 +++++++++++++++++ IRaCIS.Core.Domain/Trial/Trial.cs | 2 +- 5 files changed, 26 insertions(+), 1 deletion(-) diff --git a/IRaCIS.Core.Application/Service/QC/DTO/NoneDicomStudyViewModel.cs b/IRaCIS.Core.Application/Service/QC/DTO/NoneDicomStudyViewModel.cs index 27061e524..40c1d4472 100644 --- a/IRaCIS.Core.Application/Service/QC/DTO/NoneDicomStudyViewModel.cs +++ b/IRaCIS.Core.Application/Service/QC/DTO/NoneDicomStudyViewModel.cs @@ -13,6 +13,8 @@ namespace IRaCIS.Core.Application.Contracts public int FileCount { get; set; } + public string StudyName { get; set; } + public List NoneDicomStudyFileList { get; set; } = new List(); diff --git a/IRaCIS.Core.Application/Service/QC/DTO/QARecordViewModel.cs b/IRaCIS.Core.Application/Service/QC/DTO/QARecordViewModel.cs index 0b834efa9..6503dfbe7 100644 --- a/IRaCIS.Core.Application/Service/QC/DTO/QARecordViewModel.cs +++ b/IRaCIS.Core.Application/Service/QC/DTO/QARecordViewModel.cs @@ -18,6 +18,8 @@ namespace IRaCIS.Core.Application.Contracts.DTO public int Type { get; set; } + public string StudyName { get; set; } = String.Empty; + public string Modality { get; set; } = String.Empty; public string BodyPart { get; set; } = String.Empty; @@ -386,6 +388,8 @@ namespace IRaCIS.Core.Application.Contracts.DTO public string BodyPartForEdit { get; set; } = String.Empty; + public string StudyName { get; set; } = string.Empty; + public string ModalityForEdit { get; set; } = string.Empty; public bool IsHaveUploadFailed { get; set; } diff --git a/IRaCIS.Core.Application/Service/QC/QCOperationService.cs b/IRaCIS.Core.Application/Service/QC/QCOperationService.cs index bf12c9a31..c630017c6 100644 --- a/IRaCIS.Core.Application/Service/QC/QCOperationService.cs +++ b/IRaCIS.Core.Application/Service/QC/QCOperationService.cs @@ -762,6 +762,8 @@ namespace IRaCIS.Core.Application.Image.QA study.BodyPartForEdit = updateModalityCommand.BodyPart; study.ModalityForEdit = updateModalityCommand.Modality; + study.StudyName = updateModalityCommand.StudyName; + await _dicomSeriesRepository.BatchUpdateNoTrackingAsync(t => t.StudyId == studyId, r => new DicomSeries() { BodyPartForEdit = updateModalityCommand.BodyPart }); } diff --git a/IRaCIS.Core.Application/Service/TrialSiteUser/DTO/TrialConfigDTO.cs b/IRaCIS.Core.Application/Service/TrialSiteUser/DTO/TrialConfigDTO.cs index 04e6c7e6b..26162b4ae 100644 --- a/IRaCIS.Core.Application/Service/TrialSiteUser/DTO/TrialConfigDTO.cs +++ b/IRaCIS.Core.Application/Service/TrialSiteUser/DTO/TrialConfigDTO.cs @@ -69,6 +69,23 @@ namespace IRaCIS.Core.Application.Contracts public List ModalityList { get; set; } = new List(); + /// + /// 是否显示检查名称 + /// + public bool IsShowStudyName { get; set; } = false; + + /// + /// 检查名称列表 + /// + public List StudyNameList { get; set; } + + /// + /// 图像格式 + /// + [StringLength(2000)] + public List ImageFormatList { get; set; } = new List(); + + public List TrialObjectNameList { get; set; } diff --git a/IRaCIS.Core.Domain/Trial/Trial.cs b/IRaCIS.Core.Domain/Trial/Trial.cs index 1312b3857..e720942e2 100644 --- a/IRaCIS.Core.Domain/Trial/Trial.cs +++ b/IRaCIS.Core.Domain/Trial/Trial.cs @@ -250,7 +250,7 @@ public partial class Trial : BaseFullDeleteAuditEntity /// /// 检查名称列表 /// - public List StudyNameList { get; set; } = new List(); + public List StudyNameList { get; set; } /// /// 图像格式 From 72efd36649c4515e4f71490a52a15a4886e55247 Mon Sep 17 00:00:00 2001 From: he <109787524@qq.com> Date: Thu, 27 Feb 2025 13:05:00 +0800 Subject: [PATCH 2/2] =?UTF-8?q?=E5=AE=9E=E4=BD=93=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- IRaCIS.Core.Domain/Trial/Trial.cs | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/IRaCIS.Core.Domain/Trial/Trial.cs b/IRaCIS.Core.Domain/Trial/Trial.cs index e720942e2..0ba5fa28e 100644 --- a/IRaCIS.Core.Domain/Trial/Trial.cs +++ b/IRaCIS.Core.Domain/Trial/Trial.cs @@ -325,6 +325,11 @@ public class StudyName /// 名称 /// public string Name { get; set; } + + /// + /// 英文名称 + /// + public string EnName { get; set; } } [ComplexType]