From 2754973c8dea2c7a10f07ce7aa7ff62f83909c55 Mon Sep 17 00:00:00 2001 From: hewt <109787524@qq.com> Date: Sat, 28 Feb 2026 13:56:04 +0800 Subject: [PATCH] =?UTF-8?q?OCT=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../ReadingCalculate/OCTCalculateService.cs | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/IRaCIS.Core.Application/Service/ReadingCalculate/OCTCalculateService.cs b/IRaCIS.Core.Application/Service/ReadingCalculate/OCTCalculateService.cs index 1b22edf3e..920edc6d9 100644 --- a/IRaCIS.Core.Application/Service/ReadingCalculate/OCTCalculateService.cs +++ b/IRaCIS.Core.Application/Service/ReadingCalculate/OCTCalculateService.cs @@ -861,6 +861,9 @@ namespace IRaCIS.Core.Application.Service.ReadingCalculate // 脂质角度平均值 new ReadingCalculateData (){QuestionType=QuestionType.AvgLipidAngle,GetDecimalNullFun=GetAvgLipidAngle}, + + // 脂质角度最大值 + new ReadingCalculateData (){QuestionType=QuestionType.MaxLipidAngle,GetDecimalNullFun=GetMaxLipidAngle}, }; @@ -1275,6 +1278,18 @@ namespace IRaCIS.Core.Application.Service.ReadingCalculate } + /// + /// 脂质角度最大 + /// + /// + /// + public async Task GetMaxLipidAngle(ReadingCalculateDto inDto) + { + return inDto.QuestionInfo.Where(x => x.LesionType == LesionType.FCT).SelectMany(x => x.TableRowInfoList).SelectMany(x => x.TableQuestionList) + .Where(x => x.QuestionMark == QuestionMark.LipidAngle).Select(x => x.Answer.IsNullOrEmptyReturn0()).MaxOrDefault(); + } + + /// /// 验证访视提交 ///