using System.Threading.Tasks; using Datory; using GxPress.Common.Page; using GxPress.Request.Order; using GxPress.Result.Order; namespace GxPress.Repository.Interface.Order { public interface IOrderRepository : IRepository { /// /// 查询订单 /// /// /// Task> GetAllOrderAsync(OrderSearchRequest request); /// /// 财务中心 /// /// /// Task> GetAllOrderFinnceAsync(OrderFinanceSearchRequest request); /// /// 添加 /// /// /// Task InsertAsync(Entity.Order.Order order); /// ///获取订单 /// /// /// Task GetOrderAsync(string orderNumber); Task UpdateAsync(Entity.Order.Order order); Task GetExistsAsync(int userId, int mediaId); } }