From e5f2d1cde9f9757bd4c1f96237071effb47fa009 Mon Sep 17 00:00:00 2001 From: he <109787524@qq.com> Date: Wed, 28 Feb 2024 15:15:33 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BB=A3=E7=A0=81=E6=8F=90=E4=BA=A4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../Service/TrialSiteUser/DTO/TrialConfigDTO.cs | 10 ++++++---- .../Service/TrialSiteUser/TrialConfigService.cs | 3 ++- .../ReadingCriterion/ReadingQuestionCriterionTrial.cs | 5 +++++ 3 files changed, 13 insertions(+), 5 deletions(-) diff --git a/IRaCIS.Core.Application/Service/TrialSiteUser/DTO/TrialConfigDTO.cs b/IRaCIS.Core.Application/Service/TrialSiteUser/DTO/TrialConfigDTO.cs index 4a19798f6..b9446eaf6 100644 --- a/IRaCIS.Core.Application/Service/TrialSiteUser/DTO/TrialConfigDTO.cs +++ b/IRaCIS.Core.Application/Service/TrialSiteUser/DTO/TrialConfigDTO.cs @@ -360,10 +360,12 @@ namespace IRaCIS.Core.Application.Contracts /// public bool IsUrgent { get; set; } = false; - /// - /// 阅片平台 - /// - public int ImagePlatform { get; set; } = 1; + public bool IsSystemSetOncology { get; set; } = false; + + /// + /// 阅片平台 + /// + public int ImagePlatform { get; set; } = 1; /// /// 修约小数点 diff --git a/IRaCIS.Core.Application/Service/TrialSiteUser/TrialConfigService.cs b/IRaCIS.Core.Application/Service/TrialSiteUser/TrialConfigService.cs index da254adad..fb75f93ac 100644 --- a/IRaCIS.Core.Application/Service/TrialSiteUser/TrialConfigService.cs +++ b/IRaCIS.Core.Application/Service/TrialSiteUser/TrialConfigService.cs @@ -321,7 +321,8 @@ namespace IRaCIS.Core.Application await _readingQuestionCriterionTrialRepository.BatchUpdateNoTrackingAsync(x => x.Id == inDto.TrialReadingCriterionId, x => new ReadingQuestionCriterionTrial() { IsOncologyReading = systemCriterion.IsOncologyReading, - IseCRFShowInDicomReading = systemCriterion.IseCRFShowInDicomReading, + IsSystemSetOncology = systemCriterion.IsOncologyReading, + IseCRFShowInDicomReading = systemCriterion.IseCRFShowInDicomReading, }); diff --git a/IRaCIS.Core.Domain/Reading/ReadingCriterion/ReadingQuestionCriterionTrial.cs b/IRaCIS.Core.Domain/Reading/ReadingCriterion/ReadingQuestionCriterionTrial.cs index 7278ad12d..3dbecb37b 100644 --- a/IRaCIS.Core.Domain/Reading/ReadingCriterion/ReadingQuestionCriterionTrial.cs +++ b/IRaCIS.Core.Domain/Reading/ReadingCriterion/ReadingQuestionCriterionTrial.cs @@ -201,6 +201,11 @@ namespace IRaCIS.Core.Domain.Models /// public bool IsOncologyReading { get; set; } + /// + /// 是否系统设置了 肿瘤学 + /// + public bool IsSystemSetOncology { get; set; } = true; + /// /// 任务展示访视 读片任务显示是否顺序 ///