From 88c96374cc74cc0b25b6a6398bc8b10a284e1e1a Mon Sep 17 00:00:00 2001
From: he <10978375@qq.com>
Date: Fri, 4 Nov 2022 14:01:41 +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 | 18 ++++++++++++++----
.../TrialSiteUser/TrialConfigService.cs | 3 ++-
2 files changed, 16 insertions(+), 5 deletions(-)
diff --git a/IRaCIS.Core.Application/Service/TrialSiteUser/DTO/TrialConfigDTO.cs b/IRaCIS.Core.Application/Service/TrialSiteUser/DTO/TrialConfigDTO.cs
index e42669043..76203c283 100644
--- a/IRaCIS.Core.Application/Service/TrialSiteUser/DTO/TrialConfigDTO.cs
+++ b/IRaCIS.Core.Application/Service/TrialSiteUser/DTO/TrialConfigDTO.cs
@@ -348,6 +348,11 @@ namespace IRaCIS.Core.Application.Contracts
///
public int ImagePlatform { get; set; } = 1;
+ ///
+ /// 修约小数点
+ ///
+ public int? DigitPlaces { get; set; } = 2;
+
///
/// 系统标准ID
@@ -852,10 +857,10 @@ namespace IRaCIS.Core.Application.Contracts
public FormType FormType { get; set; }
- ///
- /// 修约小数点
- ///
- public int? DigitPlaces { get; set; }
+ /////
+ ///// 修约小数点
+ /////
+ //public int? DigitPlaces { get; set; }
public bool IsSignSave { get; set; } = false;
@@ -872,6 +877,11 @@ namespace IRaCIS.Core.Application.Contracts
public string GlobalUpdateType { get; set; } = string.Empty;
+ ///
+ /// 修约小数点
+ ///
+ public int? DigitPlaces { get; set; } = 2;
+
///
/// 阅片工具
///
diff --git a/IRaCIS.Core.Application/Service/TrialSiteUser/TrialConfigService.cs b/IRaCIS.Core.Application/Service/TrialSiteUser/TrialConfigService.cs
index a92a08470..d86c8f912 100644
--- a/IRaCIS.Core.Application/Service/TrialSiteUser/TrialConfigService.cs
+++ b/IRaCIS.Core.Application/Service/TrialSiteUser/TrialConfigService.cs
@@ -429,7 +429,7 @@ namespace IRaCIS.Core.Application
await _readingQuestionCriterionTrialRepository.UpdatePartialFromQueryAsync(inDto.TrialReadingCriterionId, x => new ReadingQuestionCriterionTrial()
{
FormType = inDto.FormType,
- DigitPlaces = inDto.DigitPlaces,
+
});
@@ -462,6 +462,7 @@ namespace IRaCIS.Core.Application
//DigitPlaces=inDto.DigitPlaces,
IsReadingTaskViewInOrder=inDto.IsReadingTaskViewInOrder,
ReadingTaskViewEnum = inDto.ReadingTaskViewEnum,
+ DigitPlaces= inDto.DigitPlaces,
//IsImageIabeled = inDto.IsImageIabeled,
IsReadingShowSubjectInfo = inDto.IsReadingShowSubjectInfo,
IsReadingShowPreviousResults = inDto.IsReadingShowPreviousResults,