Test.EIImageViewer
he 2022-11-10 13:58:55 +08:00
parent 387488c060
commit 996bdf519a
1 changed files with 3 additions and 3 deletions

View File

@ -134,8 +134,8 @@ namespace IRaCIS.Application.Services
var globalReadingQuestion = await _readingGlobalTaskInfoRepository.Where(x => x.GlobalTaskId == inDto.VisitTaskId).ToListAsync(); var globalReadingQuestion = await _readingGlobalTaskInfoRepository.Where(x => x.GlobalTaskId == inDto.VisitTaskId).ToListAsync();
var criterionType = await _readingQuestionCriterionTrialRepository.Where(x => x.Id == taskInfo.TrialReadingCriterionId).Select(x => x.CriterionType).FirstOrDefaultAsync();
result.TaskList.ForEach(async x => result.TaskList.ForEach(x =>
{ {
x.AfterQuestionList = x.BeforeQuestionList.Where(x=>x.IsJudgeQuestion).GroupJoin( x.AfterQuestionList = x.BeforeQuestionList.Where(x=>x.IsJudgeQuestion).GroupJoin(
globalReadingQuestion globalReadingQuestion
@ -180,7 +180,7 @@ namespace IRaCIS.Application.Services
}; };
var criterionType = await _readingQuestionCriterionTrialRepository.Where(x => x.Id == taskInfo.TrialReadingCriterionId).Select(x => x.CriterionType).FirstOrDefaultAsync();
List<GetGlobalQuestionType> questionTypes = new List<GetGlobalQuestionType>() List<GetGlobalQuestionType> questionTypes = new List<GetGlobalQuestionType>()
{ {