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"]); }