This commit is contained in:
he
2022-08-25 14:34:23 +08:00
parent 01796ad344
commit 7ac2bfe477
2 changed files with 273 additions and 10 deletions
@@ -874,7 +874,8 @@ namespace IRaCIS.Application.Services
.ProjectTo<GetSystemReadingQuestionOutDto>(_mapper.ConfigurationProvider).OrderBy(x => x.ShowOrder).ToListAsync();
var tableQuestionList =await _readingTableQuestionSystemRepository.Where(x => x.SystemCriterionId == inDto.Id)
var questionIds = qusetionList.Select(x => x.Id).ToList();
var tableQuestionList =await _readingTableQuestionSystemRepository.Where(x => questionIds.Contains(x.ReadingQuestionId))
.ProjectTo<TableQuestionDataInfo>(_mapper.ConfigurationProvider).OrderBy(x => x.ShowOrder).ToListAsync();
var groupList = new List<GetSystemReadingQuestionOutDto>();