From 6c5f669ab6bef3ba608eb0329f0b507f0920b0ae Mon Sep 17 00:00:00 2001 From: he <109787524@qq.com> Date: Wed, 25 Sep 2024 14:48:20 +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/OCTCalculateService.cs | 10 +++++++--- IRaCIS.Core.Domain.Share/Reading/ReadEnum.cs | 6 ++++++ 2 files changed, 13 insertions(+), 3 deletions(-) diff --git a/IRaCIS.Core.Application/Service/ReadingCalculate/OCTCalculateService.cs b/IRaCIS.Core.Application/Service/ReadingCalculate/OCTCalculateService.cs index ea7b703b4..5d36d9964 100644 --- a/IRaCIS.Core.Application/Service/ReadingCalculate/OCTCalculateService.cs +++ b/IRaCIS.Core.Application/Service/ReadingCalculate/OCTCalculateService.cs @@ -766,9 +766,13 @@ namespace IRaCIS.Core.Application.Service.ReadingCalculate #region 计算 这里顺序非常重要 后面计算的值要依赖前面计算的结果 var needAddList = new List(); - // 计算斑块统计数据 - await this.CalculatePatchDataStatistics(inDto); - inDto = await _generalCalculateService.GetReadingCalculateDto(inDto.VisitTaskId); + if (inDto.ComputationTrigger != ComputationTrigger.PatchDataStatistics) + { + // 计算斑块统计数据 + await this.CalculatePatchDataStatistics(inDto); + inDto = await _generalCalculateService.GetReadingCalculateDto(inDto.VisitTaskId); + } + List calculateList = new List() { // 斑块1-匹配动脉段最小FCT diff --git a/IRaCIS.Core.Domain.Share/Reading/ReadEnum.cs b/IRaCIS.Core.Domain.Share/Reading/ReadEnum.cs index d16a83dd6..c328dc4d7 100644 --- a/IRaCIS.Core.Domain.Share/Reading/ReadEnum.cs +++ b/IRaCIS.Core.Domain.Share/Reading/ReadEnum.cs @@ -2666,6 +2666,12 @@ public enum PET5PSScore /// 测量值 /// MeasuredValue =8, + + /// + /// 斑块数据统计 + /// + + PatchDataStatistics = 9, } ///