Compare commits

..

No commits in common. "e10e1f990fa73090ff3926f156582886079a4bbd" and "bfad36af3d6a3c931ea4897bfaad5061fe765f00" have entirely different histories.

1 changed files with 2 additions and 6 deletions

View File

@ -524,7 +524,7 @@ namespace IRaCIS.Core.Application.Service.ReadingCalculate
//SUVmax //SUVmax
new ReadingCalculateData (){QuestionType=QuestionType.SUVmax,GetDecimalNullFun=GetSuvMax}, new ReadingCalculateData (){QuestionType=QuestionType.SUVmax,GetDecimalFun=GetSuvMax},
// SUVmax所在病灶 // SUVmax所在病灶
new ReadingCalculateData (){QuestionType=QuestionType.SUVmaxLesion,GetStringFun=GetSuvMaxFocus}, new ReadingCalculateData (){QuestionType=QuestionType.SUVmaxLesion,GetStringFun=GetSuvMaxFocus},
@ -2248,12 +2248,8 @@ namespace IRaCIS.Core.Application.Service.ReadingCalculate
/// </summary> /// </summary>
/// <param name="inDto"></param> /// <param name="inDto"></param>
/// <returns></returns> /// <returns></returns>
public async Task<decimal?> GetSuvMax(ReadingCalculateDto inDto) public async Task<decimal> GetSuvMax(ReadingCalculateDto inDto)
{ {
if (inDto.QuestionInfo.Any(x => x.QuestionType == QuestionType.ExistPET && x.Answer == ReadingYesOrNo.No.GetEnumInt()))
{
return null;
}
var rowInfo = inDto.QuestionInfo.SelectMany(x => x.TableRowInfoList).ToList(); var rowInfo = inDto.QuestionInfo.SelectMany(x => x.TableRowInfoList).ToList();
var tableQuestions = rowInfo.SelectMany(x => x.TableQuestionList).ToList(); var tableQuestions = rowInfo.SelectMany(x => x.TableQuestionList).ToList();