Browse Source

副本工单查询

田爽 11 months ago
parent
commit
0df7640f82
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/Hotline.Api/Controllers/OrderController.cs

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

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