修改一版
This commit is contained in:
@@ -155,10 +155,7 @@ namespace IRaCIS.Core.Application.Service.Inspection
|
||||
{
|
||||
query = query.Where(x => x.InPlan == false);
|
||||
}
|
||||
|
||||
|
||||
dto.Asc = false;
|
||||
return await query.ToPagedListAsync(dto.PageIndex, dto.PageSize,"CreateTime", dto.Asc);
|
||||
return await query.ToPagedListAsync(dto.PageIndex, dto.PageSize, dto.SortField.IsNullOrEmpty()?nameof(GetDataInspectionOutDto.CreateTime): dto.SortField, dto.Asc);
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user