This commit is contained in:
he
2022-12-01 13:53:04 +08:00
parent 264db455ff
commit 2142ee6b82
3 changed files with 7 additions and 7 deletions
@@ -518,7 +518,7 @@ namespace IRaCIS.Application.Services
{
var readingTableQuestionSystemQueryable = _readingTableQuestionTrialRepository
.WhereIf(inDto.TableQuestionType != null, x => x.TableQuestionType == inDto.TableQuestionType!)
.WhereIf(inDto.TableQuestionType != null, x => x.TableQuestionType == inDto.TableQuestionType)
.Where(x => x.ReadingQuestionId == inDto.ReadingQuestionId).ProjectTo<ReadingTableQuestionTrialView>(_mapper.ConfigurationProvider);
var result = await readingTableQuestionSystemQueryable.OrderBy(x => x.ShowOrder).ToListAsync();