修改一版
parent
f09b2ade75
commit
dac46d079d
|
@ -712,7 +712,7 @@ namespace IRaCIS.Application.Services
|
|||
.Where(x => x.ReadingQuestionCriterionTrialId == inDto.ReadingQuestionCriterionTrialId)
|
||||
.WhereIf(!inDto.QuestionName.IsNullOrEmpty(), x => x.QuestionName.Contains(inDto.QuestionName))
|
||||
.WhereIf(!inDto.Type.IsNullOrEmpty(), x => x.Type.Contains(inDto.Type))
|
||||
.WhereIf(inDto.ReadingCriterionPageId!=null, x => x.ReadingCriterionPageId==inDto.ReadingCriterionPageId)
|
||||
.Where(x => x.ReadingCriterionPageId==inDto.ReadingCriterionPageId)
|
||||
.ProjectTo<ReadingQuestionTrialView>(_mapper.ConfigurationProvider).OrderBy(x=>x.ShowOrder);
|
||||
return await query.ToListAsync();
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue