Uat_Study
parent
8d7640df95
commit
b14f96af8b
|
@ -450,7 +450,7 @@ namespace IRaCIS.Application.Services
|
||||||
.WhereIf(!inDto.QuestionName.IsNullOrEmpty(), x => x.QuestionName.Contains(inDto.QuestionName))
|
.WhereIf(!inDto.QuestionName.IsNullOrEmpty(), x => x.QuestionName.Contains(inDto.QuestionName))
|
||||||
.WhereIf(!inDto.Type.IsNullOrEmpty(), x => x.Type.Contains(inDto.Type))
|
.WhereIf(!inDto.Type.IsNullOrEmpty(), x => x.Type.Contains(inDto.Type))
|
||||||
.ProjectTo<ReadingQuestionSystemView>(_mapper.ConfigurationProvider);
|
.ProjectTo<ReadingQuestionSystemView>(_mapper.ConfigurationProvider);
|
||||||
return await query.ToPagedListAsync(inDto.PageIndex, inDto.PageSize, "GroupName ASC,ShowOrder",
|
return await query.ToPagedListAsync(inDto.PageIndex, inDto.PageSize, nameof(ReadingQuestionSystemView.ShowOrder),
|
||||||
inDto.Asc);
|
inDto.Asc);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue