代码修改
continuous-integration/drone/push Build is failing Details

IRC_NewDev
he 2023-11-20 12:53:01 +08:00
parent b9121e1468
commit bec8720a4d
1 changed files with 1 additions and 1 deletions

View File

@ -2235,7 +2235,7 @@ namespace IRaCIS.Core.Application.Service.ReadingCalculate
/// <returns></returns>
public async Task<decimal> GetSuvMax(ReadingCalculateDto inDto)
{
var rowInfo = inDto.QuestionInfo.Where(x => x.LesionType == LesionType.TargetLesion).SelectMany(x => x.TableRowInfoList).ToList();
var rowInfo = inDto.QuestionInfo.SelectMany(x => x.TableRowInfoList).ToList();
var tableQuestions = rowInfo.SelectMany(x => x.TableQuestionList).ToList();
var maxSuv = tableQuestions.Where(x => x.QuestionMark == QuestionMark.SUVmax).Select(x => x.Answer.IsNullOrEmptyReturn0()).MaxOrDefault();