OCT修改平均最小FCT计算
continuous-integration/drone/push Build is passing Details

Test_IRC_Net8
Hewt 2026-03-25 10:01:40 +08:00
parent 0e909906be
commit 4c27e66870
1 changed files with 1 additions and 1 deletions

View File

@ -1296,7 +1296,7 @@ namespace IRaCIS.Core.Application.Service.ReadingCalculate
public async Task<decimal?> GetAvgFCT(ReadingCalculateDto inDto) public async Task<decimal?> GetAvgFCT(ReadingCalculateDto inDto)
{ {
return inDto.QuestionInfo.Where(x => x.LesionType == LesionType.ROI).SelectMany(x => x.TableRowInfoList).SelectMany(x => x.TableQuestionList) return inDto.QuestionInfo.Where(x => x.LesionType == LesionType.ROI).SelectMany(x => x.TableRowInfoList).SelectMany(x => x.TableQuestionList)
.Where(x => x.QuestionMark == QuestionMark.AvgFCT).Select(x => x.Answer.IsNullOrEmptyReturn0()).DefaultIfEmpty(0).Average(); .Where(x => x.QuestionMark == QuestionMark.AvgFCT).Select(x => x.Answer.IsNullOrEmptyReturn0()).Where(x=>x!=0).DefaultIfEmpty(0).Average();
} }
/// <summary> /// <summary>