From 467c7f77f53a098435fb38784d5d32ddc8c2be17 Mon Sep 17 00:00:00 2001 From: he <109787524@qq.com> Date: Thu, 1 Feb 2024 09:46:45 +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 --- IRaCIS.Core.Application/IRaCIS.Core.Application.xml | 13 +++++++++++++ .../ReadingCalculate/LuganoCalculateService.cs | 2 +- 2 files changed, 14 insertions(+), 1 deletion(-) diff --git a/IRaCIS.Core.Application/IRaCIS.Core.Application.xml b/IRaCIS.Core.Application/IRaCIS.Core.Application.xml index 328e313f8..b1d9efd92 100644 --- a/IRaCIS.Core.Application/IRaCIS.Core.Application.xml +++ b/IRaCIS.Core.Application/IRaCIS.Core.Application.xml @@ -1764,6 +1764,19 @@ + + + 计算靶病灶状态 + + + + + + + 获取分裂病灶的PPd之和 不包括当前的主病灶 + + + 将上一次的访视病灶添加到这一次 diff --git a/IRaCIS.Core.Application/Service/ReadingCalculate/LuganoCalculateService.cs b/IRaCIS.Core.Application/Service/ReadingCalculate/LuganoCalculateService.cs index 6df0950a7..3eb65ffaa 100644 --- a/IRaCIS.Core.Application/Service/ReadingCalculate/LuganoCalculateService.cs +++ b/IRaCIS.Core.Application/Service/ReadingCalculate/LuganoCalculateService.cs @@ -1028,7 +1028,7 @@ namespace IRaCIS.Core.Application.Service.ReadingCalculate x.RowIndex, Answer = x.Answer.IsNullOrEmptyReturn0() }).ToList(); - var maxRowIndex = answerList.Max(x => x.RowIndex); + var maxRowIndex = answerList.MaxOrDefault(x => x.RowIndex); for (int i = 1; i < maxRowIndex; i++) { result.Add(new GetSplitPPdOutDto()