Explorar el Código

Merge branch 'release/yibin' of http://110.188.24.182:10023/Fengwo/hotline into release/yibin

xf hace 11 meses
padre
commit
f206794698
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      src/Hotline.Api/Controllers/OrderController.cs

+ 1 - 1
src/Hotline.Api/Controllers/OrderController.cs

@@ -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));
 	}