From db63148ae04de80bb5f728fe67fd73271ea8a530 Mon Sep 17 00:00:00 2001 From: he <10978375@qq.com> Date: Mon, 10 Oct 2022 17:10:39 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../TrialSiteUser/DTO/TrialConfigDTO.cs | 64 +++++++++++-------- .../TrialSiteUser/TrialConfigService.cs | 7 +- 2 files changed, 45 insertions(+), 26 deletions(-) diff --git a/IRaCIS.Core.Application/Service/TrialSiteUser/DTO/TrialConfigDTO.cs b/IRaCIS.Core.Application/Service/TrialSiteUser/DTO/TrialConfigDTO.cs index 444fa5a1..02295714 100644 --- a/IRaCIS.Core.Application/Service/TrialSiteUser/DTO/TrialConfigDTO.cs +++ b/IRaCIS.Core.Application/Service/TrialSiteUser/DTO/TrialConfigDTO.cs @@ -383,38 +383,28 @@ namespace IRaCIS.Core.Application.Contracts /// /// 仲裁阅片 /// - public bool? IsArbitrationReading { get; set; } + public bool? IsArbitrationReading { get; set; } - ///// - ///// 全局阅片 - ///// - //public bool IsGlobalReading { get; set; } = true; + /// + /// 阅片模式 + /// + public ReadingMethod ReadingType { get; set; } - ///// - ///// 阅片方式 - ///// - //public int ReadingMode { get; set; } = 1; + /// + /// 全局阅片 + /// + public bool IsGlobalReading { get; set; } - ///// - ///// 阅片模式 - ///// - //public ReadingMethod ReadingType { get; set; } = ReadingMethod.Double; - ///// - ///// 仲裁阅片 - ///// - //public bool? IsArbitrationReading { get; set; } = true; - ///// - ///// 肿瘤学阅片 - ///// - //public bool IsClinicalReading { get; set; } - ///// - ///// 读片任务显示是否顺序 - ///// - //public bool IsReadingTaskViewInOrder { get; set; } = true; + /// + /// 肿瘤学阅片 原字段 IsClinicalReading + /// + public bool IsOncologyReading { get; set; } + + @@ -825,6 +815,30 @@ namespace IRaCIS.Core.Application.Contracts /// 仲裁规则/对象 /// public ArbitrationRule ArbitrationRule { get; set; } + + + + /// + /// 阅片模式 + /// + public ReadingMethod ReadingType { get; set; } = ReadingMethod.Double; + + /// + /// 全局阅片 + /// + public bool IsGlobalReading { get; set; } = true; + + /// + /// 仲裁阅片 + /// + public bool IsArbitrationReading { get; set; } = true; + + + /// + /// 肿瘤学阅片 原字段 IsClinicalReading + /// + public bool IsOncologyReading { get; set; } + } public class SignConfirmDTO diff --git a/IRaCIS.Core.Application/Service/TrialSiteUser/TrialConfigService.cs b/IRaCIS.Core.Application/Service/TrialSiteUser/TrialConfigService.cs index a92e4d59..eac57454 100644 --- a/IRaCIS.Core.Application/Service/TrialSiteUser/TrialConfigService.cs +++ b/IRaCIS.Core.Application/Service/TrialSiteUser/TrialConfigService.cs @@ -329,7 +329,12 @@ namespace IRaCIS.Core.Application IsReadingShowPreviousResults = inDto.IsReadingShowPreviousResults, ImagePlatform=inDto.ImagePlatform, ArbitrationRule=inDto.ArbitrationRule, - + ReadingType = inDto.ReadingType, + IsGlobalReading = inDto.IsGlobalReading, + IsArbitrationReading = inDto.IsArbitrationReading, + IsOncologyReading = inDto.IsOncologyReading, + + }); var result = await _readingQuestionCriterionTrialRepository.SaveChangesAsync();