|
@@ -4986,7 +4986,7 @@ public class OrderController : BaseController
|
|
|
.Where(x=>x.OrderId == dto.OrderId)
|
|
|
.WhereIF(!string.IsNullOrEmpty(dto.Keyword),x => x.No.Contains(dto.Keyword!))
|
|
|
.OrderByDescending(x => x.CreationTime)
|
|
|
- .ToPagedListAsync(1, 1, HttpContext.RequestAborted);
|
|
|
+ .ToPagedListAsync(dto.PageIndex, dto.PageSize, HttpContext.RequestAborted);
|
|
|
return new PagedDto<OrderDto>(total, _mapper.Map<IReadOnlyList<OrderDto>>(items));
|
|
|
}
|
|
|
|