/*********************************************************************** * Project: baifenBinfa * ProjectName: 百分兵法管理系统 * Web: http://chuanyin.com * Author: * Email: * CreateTime: 202403/02 * Description: 暂无 ***********************************************************************/ using System; using System.Collections.Generic; using System.Linq.Expressions; using System.Threading.Tasks; using CoreCms.Net.Model.Entities; using CoreCms.Net.Model.ViewModels.Basics; using CoreCms.Net.Model.ViewModels.DTO; using CoreCms.Net.Model.ViewModels.UI; using SqlSugar; namespace CoreCms.Net.IServices { /// /// 代理商表 服务工厂接口 /// public interface ICoreCmsAgentServices : IBaseServices { /// /// 获取代理商信息 /// /// 用户id /// Task GetInfo(int userId); /// /// 添加用户信息 /// /// /// /// Task AddData(CoreCmsAgent iData, int userId); /// /// 获取我的代理订单 /// /// /// /// /// /// Task GetMyOrderList(int userId, int page, int limit = 10, int typeId = 0); /// /// 获取店铺信息 /// /// /// Task GetStore(int userId); /// /// 重写根据条件查询分页数据 /// /// 判断集合 /// 排序方式 /// 当前页面索引 /// 分布大小 /// /// 是否使用WITH(NOLOCK) /// Task> QueryPageAsync( Expression> predicate, Expression> orderByExpression, OrderByType orderByType, int pageIndex = 1, int pageSize = 20, bool blUseNoLock = false); /// /// 获取代理商排行 /// /// 当前页面索引 /// 分布大小 /// Task> QueryRankingPageAsync(int pageIndex = 1, int pageSize = 20); } }