/*********************************************************************** * Project: CoreCms * ProjectName: 核心内容管理系统 * Web: https://www.corecms.net * Author: 大灰灰 * Email: jianweie@163.com * CreateTime: 2021/1/31 21:45:10 * 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 } }