This commit is contained in:
he
2022-11-10 13:58:55 +08:00
parent 387488c060
commit 996bdf519a
@@ -134,8 +134,8 @@ namespace IRaCIS.Application.Services
var globalReadingQuestion = await _readingGlobalTaskInfoRepository.Where(x => x.GlobalTaskId == inDto.VisitTaskId).ToListAsync();
result.TaskList.ForEach(async x =>
var criterionType = await _readingQuestionCriterionTrialRepository.Where(x => x.Id == taskInfo.TrialReadingCriterionId).Select(x => x.CriterionType).FirstOrDefaultAsync();
result.TaskList.ForEach(x =>
{
x.AfterQuestionList = x.BeforeQuestionList.Where(x=>x.IsJudgeQuestion).GroupJoin(
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>()
{