From 334b2fe440fa58d68c24cbdc694e745584aabdd4 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 3faca3153..a63abbe37 100644 --- a/IRaCIS.Core.Application/Service/ReadingCalculate/OCTCalculateService.cs +++ b/IRaCIS.Core.Application/Service/ReadingCalculate/OCTCalculateService.cs @@ -347,7 +347,7 @@ namespace IRaCIS.Core.Application.Service.ReadingCalculate { "无","0"}, { "Existence","1"}, { "Non-existence","0"}, - { "",""}, + { string.Empty,string.Empty}, }; foreach (var item in measuredValueList) @@ -359,7 +359,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"]); }