From 71b765a28b2a11ddeacf64c060f8b03ef29f3c14 Mon Sep 17 00:00:00 2001 From: he <109787524@qq.com> Date: Mon, 8 Dec 2025 16:55:47 +0800 Subject: [PATCH] =?UTF-8?q?OCT=E4=BF=AE=E6=94=B93?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../Service/ReadingCalculate/OCTCalculateService.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/IRaCIS.Core.Application/Service/ReadingCalculate/OCTCalculateService.cs b/IRaCIS.Core.Application/Service/ReadingCalculate/OCTCalculateService.cs index 034427f45..0fd16cafb 100644 --- a/IRaCIS.Core.Application/Service/ReadingCalculate/OCTCalculateService.cs +++ b/IRaCIS.Core.Application/Service/ReadingCalculate/OCTCalculateService.cs @@ -547,7 +547,7 @@ namespace IRaCIS.Core.Application.Service.ReadingCalculate { "无","0"}, { "Existence","1"}, { "Non-existence","0"}, - { "",""}, + { string.Empty,string.Empty}, }; foreach (var item in measuredValueList) @@ -559,7 +559,7 @@ namespace IRaCIS.Core.Application.Service.ReadingCalculate throw new BusinessValidationFailedException(_localizer["IVUS_UplpadDataError"]); } - if (isPresent[item.MacrophageInfiltrationMeasurement] == "0" && item.MacrophageInfiltrationAngle != string.Empty) + if ((isPresent[item.MacrophageInfiltrationMeasurement] == "0"|| isPresent[item.MacrophageInfiltrationMeasurement]==string.Empty) && item.MacrophageInfiltrationAngle != string.Empty) { throw new BusinessValidationFailedException(_localizer["IVUS_UplpadDataError"]); }