From d772ea527ae640b9b8a8de64100cf0489f28a283 Mon Sep 17 00:00:00 2001 From: he <109787524@qq.com> Date: Fri, 8 Mar 2024 13:14:15 +0800 Subject: [PATCH] =?UTF-8?q?=E8=AE=A1=E7=AE=97=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../LuganoCalculateService.cs | 24 ++++++++----------- 1 file changed, 10 insertions(+), 14 deletions(-) diff --git a/IRaCIS.Core.Application/Service/ReadingCalculate/LuganoCalculateService.cs b/IRaCIS.Core.Application/Service/ReadingCalculate/LuganoCalculateService.cs index 60a69116a..1dae4b96b 100644 --- a/IRaCIS.Core.Application/Service/ReadingCalculate/LuganoCalculateService.cs +++ b/IRaCIS.Core.Application/Service/ReadingCalculate/LuganoCalculateService.cs @@ -2105,30 +2105,26 @@ namespace IRaCIS.Core.Application.Service.ReadingCalculate var taskinfo = await _visitTaskRepository.Where(x => x.Id == visitTaskId).FirstNotNullAsync(); ReadingCalculateDto inDto = await _generalCalculateService.GetReadingCalculateDto(visitTaskId); - + var result = SpleenAssessment.NotEvaluable; if (spleenLength < 0) { return SpleenAssessment.NotEvaluable.GetEnumInt(); } - - if (inDto.IsBaseLine) + else if (0 < spleenLength && spleenLength <= 130) { - if (spleenLength <= 130) - { - return SpleenAssessment.Normal.GetEnumInt(); - } - else - { - return SpleenAssessment.Swelling.GetEnumInt(); - } - - } + return SpleenAssessment.Normal.GetEnumInt(); + + } + else if (inDto.IsBaseLine) + { + return SpleenAssessment.Swelling.GetEnumInt(); + } var lowSpleenLength = await this.GetLowSpleenLength(taskinfo); - var result = SpleenAssessment.Stabilization; + var presentSpd = spleenLength;