This commit is contained in:
2025-10-15 20:28:06 +08:00
parent 4e465563c4
commit 1419e37ed5
9 changed files with 329 additions and 14 deletions

View File

@ -5,13 +5,11 @@ using KonSoft.Admin.Repositories;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Volo.Abp;
using Volo.Abp.Application.Dtos;
using Volo.Abp.Application.Services;
using Volo.Abp.Domain.Repositories;
using Volo.Abp.ObjectMapping;
namespace KonSoft.Admin.ApplicationServices
{
@ -152,11 +150,10 @@ namespace KonSoft.Admin.ApplicationServices
/// <summary>
/// 获取所有订单列表
/// </summary>
public async Task<PagedResultDto<OrderDto>> GetListAsync(PageListInput input)
public async Task<PagedResultDto<OrderDto>> GetListAsync(PagedResultRequestDto input)
{
var skipCount = (input.Index - 1) * input.PageSize;
// 查询所有订单
var orders = await _orderRepository.GetPagedListAsync(skipCount, input.PageSize, "Id");
var orders = await _orderRepository.GetPagedListAsync(input.SkipCount, input.MaxResultCount, "Id");
var totalCount = await _orderRepository.CountAsync();