Uat_Study
he 2022-11-14 10:27:17 +08:00
parent a8f6b5439a
commit 67069b1511
1 changed files with 4 additions and 2 deletions

View File

@ -113,7 +113,8 @@ namespace IRaCIS.Core.Application.Service.ReadingCalculate
var criterionId = visitTaskInfo.TrialReadingCriterionId;
var questionList = await _readingQuestionTrialRepository.Where(x => x.ReadingQuestionCriterionTrialId == criterionId)
.Where(x => x.LesionType != LesionType.BaselineLesions)
//.Where(x => x.LesionType != LesionType.BaselineLesions)
.Where(x=>x.QuestionType!=QuestionType.TherapeuticEffectEvaluationGroup)
.ToListAsync();
// 新病灶
@ -627,7 +628,8 @@ namespace IRaCIS.Core.Application.Service.ReadingCalculate
/// <returns></returns>
public async Task<int> GetBaseLineLesionsCount(ReadingCalculateDto inDto)
{
return inDto.QuestionInfo.Where(x => x.LesionType == LesionType.BaselineLesions).SelectMany(x => x.TableRowInfoList).Count();
return inDto.QuestionInfo.Where(x => x.LesionType == LesionType.BaselineLesions).SelectMany(x => x.TableRowInfoList)
.Where(x => x.TableQuestionList.Any(y => y.QuestionMark == QuestionMark.State && y.Answer == EvaluationOfState.Exists.GetEnumInt())).Count();
}
#endregion