From 01d5b031a9b3322f0103f488a8c6128efec18ec3 Mon Sep 17 00:00:00 2001 From: he <10978375@qq.com> Date: Thu, 21 Dec 2023 11:25:38 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BB=A3=E7=A0=81=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../Service/ReadingCalculate/LuganoCalculateService.cs | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/IRaCIS.Core.Application/Service/ReadingCalculate/LuganoCalculateService.cs b/IRaCIS.Core.Application/Service/ReadingCalculate/LuganoCalculateService.cs index db02dfa1b..1865d26d0 100644 --- a/IRaCIS.Core.Application/Service/ReadingCalculate/LuganoCalculateService.cs +++ b/IRaCIS.Core.Application/Service/ReadingCalculate/LuganoCalculateService.cs @@ -1725,6 +1725,11 @@ namespace IRaCIS.Core.Application.Service.ReadingCalculate var taskinfo = await _visitTaskRepository.Where(x => x.Id == visitTaskId).FirstNotNullAsync(); ReadingCalculateDto inDto = await _generalCalculateService.GetReadingCalculateDto(visitTaskId); + if (spleenLength == 0) + { + return SpleenAssessment.NotEvaluable.GetEnumInt(); + } + if (inDto.IsBaseLine) { if (spleenLength <= 130) @@ -1737,10 +1742,7 @@ namespace IRaCIS.Core.Application.Service.ReadingCalculate } } - if (spleenLength == 0) - { - return SpleenAssessment.NotEvaluable.GetEnumInt(); - } + #region 最低 var visitTaskIds = await _visitTaskRepository.Where(x => x.ReadingCategory == ReadingCategory.Visit &&