/*********************************************************************** * 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.DTO; 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 ICoreCmsPinTuanRuleServices : IBaseServices { /// /// 取购物车数据的时候,更新价格 /// /// /// 规则序列 /// WebApiCallBack PinTuanInfo(List list, int ruleId); /// /// 接口上获取拼团所有商品 /// /// Task GetPinTuanList(int userId = 0, int pageIndex = 1, int pageSize = 20); /// /// 根据条件查询分页数据 /// /// 判断集合 /// 排序方式 /// 当前页面索引 /// 分布大小 /// /// Task> QueryTagPinTuanPageAsync(Expression> predicate, Expression> orderByExpression, OrderByType orderByType, int pageIndex = 1, int pageSize = 20); /// /// 根据规则Id获取拼团相关信息 /// /// 规则序列 /// Task GetPinTuanInfo(int ruleId); /// /// 根据规则ID数组获取拼团相关信息 /// /// 规则序列 /// /// /// /// /// Task> GetPinTuanInfos(int[] ruleIds, Expression> orderByExpression, OrderByType orderByType, int pageIndex = 1, int pageSize = 20); } }