/*********************************************************************** * 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.UI; using SqlSugar; namespace CoreCms.Net.IServices { /// /// 拼团记录表 服务工厂接口 /// public interface ICoreCmsPinTuanRecordServices : IBaseServices { /// /// 生成订单的时候,增加信息 /// /// 订单数据 /// 货品列表 /// 团队序列 /// Task OrderAdd(CoreCmsOrder order, List items, int teamId = 0); /// /// 取得商品的所有拼团记录 /// /// /// /// /// Task GetRecord(int ruleId, int goodsId, int status = 0); /// /// 获取拼团团队人数 /// /// /// /// Task GetTeamList(int teamId, string orderId); /// /// 自动取消到时间的团(定时任务用) /// /// Task AutoCancelPinTuanOrder(); #region 重写根据条件查询分页数据 /// /// 重写根据条件查询分页数据 /// /// 判断集合 /// 排序方式 /// 当前页面索引 /// 分布大小 /// /// 是否使用WITH(NOLOCK) /// Task> QueryPageAsync( Expression> predicate, Expression> orderByExpression, OrderByType orderByType, int pageIndex = 1, int pageSize = 20, bool blUseNoLock = false); #endregion } }