Parcourir la source

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

xf il y a 11 mois
Parent
commit
f206794698
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  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));
 	}