IRC_NewDev
he 2024-04-24 11:19:33 +08:00
parent a2b1a0d64b
commit 29836a9c62
1 changed files with 1 additions and 1 deletions

View File

@ -2114,7 +2114,7 @@ namespace IRaCIS.Core.Application.Service.ReadingCalculate
var splenicBottomAnswer = inDto.QuestionInfo.Where(x => x.QuestionType == QuestionType.SplenicBottomPosition).Select(x => x.Answer).FirstOrDefault();
decimal? spleenLength = null;
if (splenicTopAnswer != null && splenicBottomAnswer != null)
if (splenicTopAnswer != null && splenicBottomAnswer != null&& splenicTopAnswer != string.Empty && splenicBottomAnswer != string.Empty)
{
spleenLength = splenicTopAnswer.IsNullOrEmptyReturn0() - splenicBottomAnswer.IsNullOrEmptyReturn0();
if (spleenLength < 0)