修改一版
parent
fe5050a461
commit
22ad2ab96e
|
@ -723,6 +723,12 @@ namespace IRaCIS.Core.Application.Service.Reading.Dto
|
|||
public int? DigitPlaces { get; set; } = 2;
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// 排序
|
||||
/// </summary>
|
||||
public int ShowOrder { get; set; }
|
||||
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// 是否是系统数据
|
||||
|
|
|
@ -709,7 +709,7 @@ namespace IRaCIS.Application.Services
|
|||
.WhereIf(!inDto.CriterionName.IsNullOrEmpty(), x => x.CriterionName.Contains(inDto.CriterionName))
|
||||
|
||||
.ProjectTo<ReadingQuestionCriterionTrialView>(_mapper.ConfigurationProvider);
|
||||
return await query.ToPagedListAsync(inDto.PageIndex, inDto.PageSize, inDto.SortField == null ? nameof(ReadingQuestionCriterionTrialView.CriterionName) : inDto.SortField,
|
||||
return await query.ToPagedListAsync(inDto.PageIndex, inDto.PageSize, inDto.SortField.IsNullOrEmpty() ? nameof(ReadingQuestionCriterionTrialView.ShowOrder) : inDto.SortField,
|
||||
inDto.Asc);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue