From 4bbfacd7de0ddffb242fb366a58040a0cb208719 Mon Sep 17 00:00:00 2001 From: he <109787524@qq.com> Date: Tue, 16 Jan 2024 10:48:30 +0800 Subject: [PATCH] =?UTF-8?q?=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 | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/IRaCIS.Core.Application/Service/ReadingCalculate/LuganoCalculateService.cs b/IRaCIS.Core.Application/Service/ReadingCalculate/LuganoCalculateService.cs index e5d2b4fb5..b7391d8a3 100644 --- a/IRaCIS.Core.Application/Service/ReadingCalculate/LuganoCalculateService.cs +++ b/IRaCIS.Core.Application/Service/ReadingCalculate/LuganoCalculateService.cs @@ -2008,7 +2008,7 @@ namespace IRaCIS.Core.Application.Service.ReadingCalculate //{ // return SpleenAssessment.Stabilization.GetEnumInt(); //} - Console.WriteLine("计算了PET5PS,当前接口" + _userInfo.RequestUrl); + if (inDto.QuestionInfo.Any(x => x.QuestionType == QuestionType.ExistPET && x.Answer == ReadingYesOrNo.No.GetEnumInt())) { return PET5PSScore.NE.GetEnumInt(); @@ -2062,9 +2062,12 @@ namespace IRaCIS.Core.Application.Service.ReadingCalculate //无需标记,自主选择 else { - return string.Empty; + Console.WriteLine("计算了PET5PS,当前接口" + _userInfo.RequestUrl + "当前结果"); + return string.Empty; } - return result.GetEnumInt(); + + Console.WriteLine("计算了PET5PS,当前接口" + _userInfo.RequestUrl+"当前结果"+ result.GetEnumInt()); + return result.GetEnumInt(); } #endregion