IOrderRepository.cs 928 B

123456789101112131415161718192021222324252627282930
  1. using System.Threading.Tasks;
  2. using Datory;
  3. using GxPress.Common.Page;
  4. using GxPress.Request.Order;
  5. using GxPress.Result.Order;
  6. namespace GxPress.Repository.Interface.Order
  7. {
  8. public interface IOrderRepository : IRepository
  9. {
  10. /// <summary>
  11. /// 查询订单
  12. /// </summary>
  13. /// <param name="request"></param>
  14. /// <returns></returns>
  15. Task<PagedList<Entity.Order.Order>> GetAllOrderAsync(OrderSearchRequest request);
  16. /// <summary>
  17. /// 财务中心
  18. /// </summary>
  19. /// <param name="request"></param>
  20. /// <returns></returns>
  21. Task<OrderFinanceResult<Entity.Order.Order>> GetAllOrderFinnceAsync(OrderFinanceSearchRequest request);
  22. /// <summary>
  23. /// 添加
  24. /// </summary>
  25. /// <param name="order"></param>
  26. /// <returns></returns>
  27. Task<int> InsertAsync(Entity.Order.Order order);
  28. }
  29. }