From 482d789870f896fbdba3760fc3ec6c52e7259948 Mon Sep 17 00:00:00 2001 From: hang <872297557@qq.com> Date: Wed, 24 May 2023 16:10:19 +0800 Subject: [PATCH] =?UTF-8?q?=E4=B8=B4=E5=BA=8A=E6=95=B0=E6=8D=AE=E6=8E=A5?= =?UTF-8?q?=E5=8F=A3=E5=90=88=E5=B9=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../Service/Inspection/DTO/InspectionModel.cs | 10 ++++++++++ .../Reading/ClinicalData/ReadingClinicalDataService.cs | 8 +++++++- 2 files changed, 17 insertions(+), 1 deletion(-) diff --git a/IRaCIS.Core.Application/Service/Inspection/DTO/InspectionModel.cs b/IRaCIS.Core.Application/Service/Inspection/DTO/InspectionModel.cs index 1e4b7cb04..03049fff2 100644 --- a/IRaCIS.Core.Application/Service/Inspection/DTO/InspectionModel.cs +++ b/IRaCIS.Core.Application/Service/Inspection/DTO/InspectionModel.cs @@ -275,6 +275,16 @@ namespace IRaCIS.Core.Application.Service.Inspection.DTO [NotDefault] public Guid TrialReadingCriterionId { get; set; } + + /// + /// 是否盲化 + /// + public bool? IsBlind { get; set; } + + /// + /// 是否完整 + /// + public bool? IsComplete { get; set; } } /// diff --git a/IRaCIS.Core.Application/Service/Reading/ClinicalData/ReadingClinicalDataService.cs b/IRaCIS.Core.Application/Service/Reading/ClinicalData/ReadingClinicalDataService.cs index 6b4f3cf03..5c368b6a7 100644 --- a/IRaCIS.Core.Application/Service/Reading/ClinicalData/ReadingClinicalDataService.cs +++ b/IRaCIS.Core.Application/Service/Reading/ClinicalData/ReadingClinicalDataService.cs @@ -285,6 +285,8 @@ namespace IRaCIS.Application.Services //---当前临床数据状态不是已核查状态,不允许签名! throw new BusinessValidationFailedException(_localizer["ReadingClinicalData_Unchecked"]); } + data.IsBlind = inDto.IsBlind; + data.IsComplete=inDto.IsComplete; data.IsSign = true; data.ReadingClinicalDataState = ReadingClinicalDataStatus.HaveSigned; @@ -414,7 +416,8 @@ namespace IRaCIS.Application.Services - + // 废弃 接口合并到签名哪里 + [HttpPut] public async Task PMClinicalDataConfirm(PMClinicalDataConfirmCommand command) { @@ -424,9 +427,12 @@ namespace IRaCIS.Application.Services IsComplete = command.IsComplete, ReadingClinicalDataState = ReadingClinicalDataStatus.HaveChecked }); + await _readingClinicalDataRepository.SaveChangesAsync(); return ResponseOutput.Ok(); + + } #endregion