@@ -828,7 +828,7 @@ namespace IRaCIS.Core.Application.Service.ReadingCalculate
|
||||
{
|
||||
var taskinfo = await _visitTaskRepository.Where(x => x.Id == inDto.VisitTaskId).Include(x => x.Subject).Include(x => x.TrialReadingCriterion).FirstNotNullAsync();
|
||||
|
||||
var questionIdList = await _readingQuestionTrialRepository.Where(x => (x.Type == ReadingQestionType.Table || x.Type != ReadingQestionType.BasicTable) && x.ReadingQuestionCriterionTrialId == taskinfo.TrialReadingCriterionId).Select(x=>x.Id).ToListAsync();
|
||||
var questionIdList = await _readingQuestionTrialRepository.Where(x => (x.Type == ReadingQestionType.Table || x.Type == ReadingQestionType.BasicTable) && x.ReadingQuestionCriterionTrialId == taskinfo.TrialReadingCriterionId).Select(x=>x.Id).ToListAsync();
|
||||
|
||||
|
||||
var tableQuestions = await _readingTableQuestionTrialRepository.Where(x => questionIdList.Contains(x.ReadingQuestionId))
|
||||
|
||||
Reference in New Issue
Block a user