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