### 0.6.0 专业版(大版本升级,破坏性升级,请酌情处理):

【新增】弃用现在sku前端,启用全新sku组件,更加灵活,体验更好。
【新增】新增通过商品序列获取sku全新列表功能。
【新增】仓储层底层增加二级缓存功能,后面将逐步完善底层缓存中心模块。
【新增】0元购,积分兑换模式下,也去计算用户是否科技升级。
【新增】数据及业务仓储增加二级缓存功能。curd可自主控制是否缓存和清除。
【新增】订单导出excel数据增加商品名称+货品sku组合展示的方式。
【新增】自定义交易组件增加【获取商家信息】【更新商家信息】两个接口处理。
【新增】增加公告列表及公告详情页面,首页组件公告点击跳转列表展示。
【新增】个人中心增加【公告中心】入口。
【新增】后台余额变动增加说明录入。

【调整】将前端能进行分包的文件夹都进行分包,减少主包占用,方便进行二开。
【调整】因ckeditor5存在图片不可设置宽度,上传不支持mp4,排版不畅等情况,降级使用ckeditor4版本。
【修复】修复0.5.5版本售后积分返还机制积分模式判断异常的问题。
【修复】修复使用积分全额抵扣,或其他优惠政策导致的0元购,未进行短信提醒及小票打印机未打印的问题。
【修复】修复更换ckeditor4编辑器后接龙添加编辑调用失败的问题。
【修复】修复积分全额抵扣,金额0元购的情况下,进行售后执行完毕,订单未完结的情况。
【优化】去除分销申请面板按钮无用并失效报错的customStyle属性。
【优化】优化部分方法中使用手写字符串的遗留问题,统一采用enum方式。
【优化】优化前端及接口部分命名错误的问题。错将skill误写成seckill。
【优化】去除uniapp端多个客服代码。
【优化】商品详情底部完善购物车数量显示的问题。
【优化】优化团购列表,拼团列表,秒杀页面页面样式布局差异问题。
【优化】调整支付结果界面样式效果,仿微信支付结果界面。更加清晰明朗。
【优化】优化售后提交页面json计算,开放当用户下单后但未发货情况下,可以申请直接售后的操作需求。
【优化】后台商家手机号码支持设置多个,使用小写逗号分隔,方便多个商家管理员接收下单提醒。
【优化】后台售后单审核,调整售后商品为必选项。
This commit is contained in:
大灰灰
2022-09-14 00:53:04 +08:00
parent 6ce893cb38
commit 7b68f352d7
3118 changed files with 161226 additions and 10176 deletions

View File

@@ -41,13 +41,6 @@ namespace CoreCms.Net.IServices
/// <returns></returns>
Task<AdminUiCallBack> UpdateAsync(CoreCmsAgentGoods entity, List<CoreCmsAgentProducts> products);
/// <summary>
/// 重写异步更新方法
/// </summary>
/// <param name="entity"></param>
/// <returns></returns>
new Task<AdminUiCallBack> UpdateAsync(List<CoreCmsAgentGoods> entity);
/// <summary>
/// 重写删除指定ID的数据
/// </summary>
@@ -55,13 +48,6 @@ namespace CoreCms.Net.IServices
/// <returns></returns>
Task<AdminUiCallBack> DeleteByIdAsync(int id);
/// <summary>
/// 重写删除指定ID集合的数据(批量删除)
/// </summary>
/// <param name="ids"></param>
/// <returns></returns>
new Task<AdminUiCallBack> DeleteByIdsAsync(int[] ids);
#endregion
@@ -76,7 +62,7 @@ namespace CoreCms.Net.IServices
/// <param name="orderByExpression"></param>
/// <param name="blUseNoLock">是否使用WITH(NOLOCK)</param>
/// <returns></returns>
new Task<IPageList<CoreCmsAgentGoods>> QueryPageAsync(
Task<IPageList<CoreCmsAgentGoods>> QueryPageAsync(
Expression<Func<CoreCmsAgentGoods, bool>> predicate,
Expression<Func<CoreCmsAgentGoods, object>> orderByExpression, OrderByType orderByType, int pageIndex = 1,
int pageSize = 20, bool blUseNoLock = false);

View File

@@ -30,21 +30,14 @@ namespace CoreCms.Net.IServices
/// </summary>
/// <param name="entity"></param>
/// <returns></returns>
new Task<AdminUiCallBack> InsertAsync(CoreCmsAgentGrade entity);
Task<AdminUiCallBack> InsertAsync(CoreCmsAgentGrade entity);
/// <summary>
/// 重写异步更新方法
/// </summary>
/// <param name="entity"></param>
/// <returns></returns>
new Task<AdminUiCallBack> UpdateAsync(CoreCmsAgentGrade entity);
/// <summary>
/// 重写异步更新方法
/// </summary>
/// <param name="entity"></param>
/// <returns></returns>
new Task<AdminUiCallBack> UpdateAsync(List<CoreCmsAgentGrade> entity);
Task<AdminUiCallBack> UpdateAsync(CoreCmsAgentGrade entity);
/// <summary>
/// 重写删除指定ID的数据
@@ -64,11 +57,6 @@ namespace CoreCms.Net.IServices
/// <returns></returns>
Task<List<CoreCmsAgentGrade>> GetCaChe();
/// <summary>
/// 更新cache
/// </summary>
Task<List<CoreCmsAgentGrade>> UpdateCaChe();
#endregion
#region
@@ -82,10 +70,10 @@ namespace CoreCms.Net.IServices
/// <param name="orderByExpression"></param>
/// <param name="blUseNoLock">是否使用WITH(NOLOCK)</param>
/// <returns></returns>
new Task<IPageList<CoreCmsAgentGrade>> QueryPageAsync(
Expression<Func<CoreCmsAgentGrade, bool>> predicate,
Expression<Func<CoreCmsAgentGrade, object>> orderByExpression, OrderByType orderByType, int pageIndex = 1,
int pageSize = 20, bool blUseNoLock = false);
Task<IPageList<CoreCmsAgentGrade>> QueryPageAsync(
Expression<Func<CoreCmsAgentGrade, bool>> predicate,
Expression<Func<CoreCmsAgentGrade, object>> orderByExpression, OrderByType orderByType, int pageIndex = 1,
int pageSize = 20, bool blUseNoLock = false);
#endregion
}
}

View File

@@ -24,60 +24,6 @@ namespace CoreCms.Net.IServices
/// </summary>
public interface ICoreCmsAgentOrderDetailsServices : IBaseServices<CoreCmsAgentOrderDetails>
{
#region ===========================================================
/// <summary>
/// 重写异步插入方法
/// </summary>
/// <param name="entity"></param>
/// <returns></returns>
new Task<AdminUiCallBack> InsertAsync(CoreCmsAgentOrderDetails entity);
/// <summary>
/// 重写异步更新方法
/// </summary>
/// <param name="entity"></param>
/// <returns></returns>
new Task<AdminUiCallBack> UpdateAsync(CoreCmsAgentOrderDetails entity);
/// <summary>
/// 重写异步更新方法
/// </summary>
/// <param name="entity"></param>
/// <returns></returns>
new Task<AdminUiCallBack> UpdateAsync(List<CoreCmsAgentOrderDetails> entity);
/// <summary>
/// 重写删除指定ID的数据
/// </summary>
/// <param name="id"></param>
/// <returns></returns>
new Task<AdminUiCallBack> DeleteByIdAsync(object id);
/// <summary>
/// 重写删除指定ID集合的数据(批量删除)
/// </summary>
/// <param name="ids"></param>
/// <returns></returns>
new Task<AdminUiCallBack> DeleteByIdsAsync(int[] ids);
#endregion
#region
/// <summary>
/// 重写根据条件查询分页数据
/// </summary>
/// <param name="predicate">判断集合</param>
/// <param name="orderByType">排序方式</param>
/// <param name="pageIndex">当前页面索引</param>
/// <param name="pageSize">分布大小</param>
/// <param name="orderByExpression"></param>
/// <param name="blUseNoLock">是否使用WITH(NOLOCK)</param>
/// <returns></returns>
new Task<IPageList<CoreCmsAgentOrderDetails>> QueryPageAsync(
Expression<Func<CoreCmsAgentOrderDetails, bool>> predicate,
Expression<Func<CoreCmsAgentOrderDetails, object>> orderByExpression, OrderByType orderByType, int pageIndex = 1,
int pageSize = 20, bool blUseNoLock = false);
#endregion
}
}

View File

@@ -23,8 +23,7 @@ namespace CoreCms.Net.IServices
/// </summary>
public interface ICoreCmsAgentOrderServices : IBaseServices<CoreCmsAgentOrder>
{
#region
/// <summary>
/// 重写根据条件查询分页数据
/// </summary>
@@ -35,12 +34,10 @@ namespace CoreCms.Net.IServices
/// <param name="orderByExpression"></param>
/// <param name="blUseNoLock">是否使用WITH(NOLOCK)</param>
/// <returns></returns>
new Task<IPageList<CoreCmsAgentOrder>> QueryPageAsync(
Task<IPageList<CoreCmsAgentOrder>> QueryPageAsync(
Expression<Func<CoreCmsAgentOrder, bool>> predicate,
Expression<Func<CoreCmsAgentOrder, object>> orderByExpression, OrderByType orderByType, int pageIndex = 1,
int pageSize = 20, bool blUseNoLock = false);
#endregion
/// <summary>
/// 添加代理订单关联记录
@@ -61,7 +58,7 @@ namespace CoreCms.Net.IServices
/// </summary>
/// <param name="orderId">订单编号</param>
/// <returns></returns>
Task<WebApiCallBack> CancleOrderByOrderId(string orderId);
Task<WebApiCallBack> CancelOrderByOrderId(string orderId);
}

View File

@@ -13,7 +13,6 @@ 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
@@ -35,7 +34,7 @@ namespace CoreCms.Net.IServices
/// <param name="orderByExpression"></param>
/// <param name="blUseNoLock">是否使用WITH(NOLOCK)</param>
/// <returns></returns>
new Task<IPageList<CoreCmsAgentProducts>> QueryPageAsync(
Task<IPageList<CoreCmsAgentProducts>> QueryPageAsync(
Expression<Func<CoreCmsAgentProducts, bool>> predicate,
Expression<Func<CoreCmsAgentProducts, object>> orderByExpression, OrderByType orderByType, int pageIndex = 1,
int pageSize = 20, bool blUseNoLock = false);

View File

@@ -13,8 +13,8 @@ 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 CoreCms.Net.Model.ViewModels.DTO.Agent;
using SqlSugar;
namespace CoreCms.Net.IServices
@@ -58,17 +58,6 @@ namespace CoreCms.Net.IServices
/// <returns></returns>
Task<WebApiCallBack> GetStore(int userId);
/// <summary>
/// 根据条件查询分页数据
/// </summary>
/// <param name="userId"></param>
/// <param name="pageIndex">当前页面索引</param>
/// <param name="pageSize">分布大小</param>
/// <returns></returns>
Task<IPageList<CoreCmsAgentOrder>> QueryOrderPageAsync(int userId, int pageIndex = 1, int pageSize = 20);
#region
/// <summary>
/// 重写根据条件查询分页数据
/// </summary>
@@ -79,12 +68,10 @@ namespace CoreCms.Net.IServices
/// <param name="orderByExpression"></param>
/// <param name="blUseNoLock">是否使用WITH(NOLOCK)</param>
/// <returns></returns>
new Task<IPageList<CoreCmsAgent>> QueryPageAsync(
Task<IPageList<CoreCmsAgent>> QueryPageAsync(
Expression<Func<CoreCmsAgent, bool>> predicate,
Expression<Func<CoreCmsAgent, object>> orderByExpression, OrderByType orderByType, int pageIndex = 1,
int pageSize = 20, bool blUseNoLock = false);
#endregion
/// <summary>
/// 获取代理商排行

View File

@@ -33,7 +33,6 @@ namespace CoreCms.Net.IServices
WebApiCallBack OrderToAftersales(string orderId, int aftersaleLevel = 0);
/// <summary>
/// 统计用户的售后数量
/// </summary>

View File

@@ -90,8 +90,6 @@ namespace CoreCms.Net.IServices
Task<List<StatisticsOut>> Statistics();
#region
/// <summary>
/// 重写根据条件查询分页数据
/// </summary>
@@ -102,11 +100,10 @@ namespace CoreCms.Net.IServices
/// <param name="orderByExpression"></param>
/// <param name="blUseNoLock">是否使用WITH(NOLOCK)</param>
/// <returns></returns>
new Task<IPageList<CoreCmsBillPayments>> QueryPageAsync(
Task<IPageList<CoreCmsBillPayments>> QueryPageAsync(
Expression<Func<CoreCmsBillPayments, bool>> predicate,
Expression<Func<CoreCmsBillPayments, object>> orderByExpression, OrderByType orderByType, int pageIndex = 1,
int pageSize = 20, bool blUseNoLock = false);
#endregion
}
}

View File

@@ -63,7 +63,7 @@ namespace CoreCms.Net.IServices
/// <param name="orderByExpression"></param>
/// <param name="blUseNoLock">是否使用WITH(NOLOCK)</param>
/// <returns></returns>
new Task<IPageList<CoreCmsBillRefund>> QueryPageAsync(
Task<IPageList<CoreCmsBillRefund>> QueryPageAsync(
Expression<Func<CoreCmsBillRefund, bool>> predicate,
Expression<Func<CoreCmsBillRefund, object>> orderByExpression, OrderByType orderByType, int pageIndex = 1,
int pageSize = 20, bool blUseNoLock = false);

View File

@@ -19,7 +19,7 @@ using SqlSugar;
namespace CoreCms.Net.IServices
{
/// <summary>
/// <summary>
/// 连续签到规则 服务工厂接口
/// </summary>
public interface ICoreCmsContinuousCheckInRulesServices : IBaseServices<CoreCmsContinuousCheckInRules>
@@ -30,10 +30,7 @@ namespace CoreCms.Net.IServices
/// </summary>
/// <param name="entity"></param>
/// <returns></returns>
new Task<AdminUiCallBack> InsertAsync(List<CoreCmsContinuousCheckInRules> entity);
#region ==========================================================
Task<AdminUiCallBack> InsertAsync(List<CoreCmsContinuousCheckInRules> entity);
/// <summary>
/// 获取缓存的所有数据
@@ -41,12 +38,5 @@ namespace CoreCms.Net.IServices
/// <returns></returns>
Task<List<CoreCmsContinuousCheckInRules>> GetCaChe();
/// <summary>
/// 更新cache
/// </summary>
Task<List<CoreCmsContinuousCheckInRules>> UpdateCaChe();
#endregion
}
}

View File

@@ -24,84 +24,17 @@ namespace CoreCms.Net.IServices
/// </summary>
public interface ICoreCmsCumulativeCheckInRulesServices : IBaseServices<CoreCmsCumulativeCheckInRules>
{
#region ===========================================================
/// <summary>
/// 重写异步插入方法
/// </summary>
/// <param name="entity"></param>
/// <returns></returns>
new Task<AdminUiCallBack> InsertAsync(CoreCmsCumulativeCheckInRules entity);
/// <summary>
/// 重写异步更新方法
/// </summary>
/// <param name="entity"></param>
/// <returns></returns>
new Task<AdminUiCallBack> InsertAsync(List<CoreCmsCumulativeCheckInRules> entity);
/// <summary>
/// 重写异步更新方法
/// </summary>
/// <param name="entity"></param>
/// <returns></returns>
new Task<AdminUiCallBack> UpdateAsync(CoreCmsCumulativeCheckInRules entity);
/// <summary>
/// 重写异步更新方法
/// </summary>
/// <param name="entity"></param>
/// <returns></returns>
new Task<AdminUiCallBack> UpdateAsync(List<CoreCmsCumulativeCheckInRules> entity);
/// <summary>
/// 重写删除指定ID的数据
/// </summary>
/// <param name="id"></param>
/// <returns></returns>
new Task<AdminUiCallBack> DeleteByIdAsync(object id);
/// <summary>
/// 重写删除指定ID集合的数据(批量删除)
/// </summary>
/// <param name="ids"></param>
/// <returns></returns>
new Task<AdminUiCallBack> DeleteByIdsAsync(int[] ids);
#endregion
#region ==========================================================
Task<AdminUiCallBack> InsertAsync(List<CoreCmsCumulativeCheckInRules> entity);
/// <summary>
/// 获取缓存的所有数据
/// </summary>
/// <returns></returns>
Task<List<CoreCmsCumulativeCheckInRules>> GetCaChe();
/// <summary>
/// 更新cache
/// </summary>
Task<List<CoreCmsCumulativeCheckInRules>> UpdateCaChe();
#endregion
#region
/// <summary>
/// 重写根据条件查询分页数据
/// </summary>
/// <param name="predicate">判断集合</param>
/// <param name="orderByType">排序方式</param>
/// <param name="pageIndex">当前页面索引</param>
/// <param name="pageSize">分布大小</param>
/// <param name="orderByExpression"></param>
/// <param name="blUseNoLock">是否使用WITH(NOLOCK)</param>
/// <returns></returns>
new Task<IPageList<CoreCmsCumulativeCheckInRules>> QueryPageAsync(
Expression<Func<CoreCmsCumulativeCheckInRules, bool>> predicate,
Expression<Func<CoreCmsCumulativeCheckInRules, object>> orderByExpression, OrderByType orderByType, int pageIndex = 1,
int pageSize = 20, bool blUseNoLock = false);
#endregion
}
}

View File

@@ -19,7 +19,7 @@ using SqlSugar;
namespace CoreCms.Net.IServices
{
/// <summary>
/// <summary>
/// 用户日历签到统计 服务工厂接口
/// </summary>
public interface ICoreCmsUserCheckInServices : IBaseServices<CoreCmsUserCheckIn>
@@ -35,10 +35,10 @@ namespace CoreCms.Net.IServices
/// <param name="orderByExpression"></param>
/// <param name="blUseNoLock">是否使用WITH(NOLOCK)</param>
/// <returns></returns>
new Task<IPageList<CoreCmsUserCheckIn>> QueryPageAsync(
Expression<Func<CoreCmsUserCheckIn, bool>> predicate,
Expression<Func<CoreCmsUserCheckIn, object>> orderByExpression, OrderByType orderByType, int pageIndex = 1,
int pageSize = 20, bool blUseNoLock = false);
Task<IPageList<CoreCmsUserCheckIn>> QueryPageAsync(
Expression<Func<CoreCmsUserCheckIn, bool>> predicate,
Expression<Func<CoreCmsUserCheckIn, object>> orderByExpression, OrderByType orderByType, int pageIndex = 1,
int pageSize = 20, bool blUseNoLock = false);
#endregion
/// <summary>

View File

@@ -36,11 +36,11 @@ namespace CoreCms.Net.IServices
/// <param name="orderByExpression"></param>
/// <param name="blUseNoLock">是否使用WITH(NOLOCK)</param>
/// <returns></returns>
new Task<IPageList<CoreCmsDistributionCondition>> QueryPageAsync(
Expression<Func<CoreCmsDistributionCondition, bool>> predicate,
Expression<Func<CoreCmsDistributionCondition, object>> orderByExpression, OrderByType orderByType,
int pageIndex = 1,
int pageSize = 20, bool blUseNoLock = false);
Task<IPageList<CoreCmsDistributionCondition>> QueryPageAsync(
Expression<Func<CoreCmsDistributionCondition, bool>> predicate,
Expression<Func<CoreCmsDistributionCondition, object>> orderByExpression, OrderByType orderByType,
int pageIndex = 1,
int pageSize = 20, bool blUseNoLock = false);
#endregion
@@ -51,50 +51,21 @@ namespace CoreCms.Net.IServices
/// </summary>
/// <param name="entity"></param>
/// <returns></returns>
new Task<AdminUiCallBack> InsertAsync(CoreCmsDistributionCondition entity);
Task<AdminUiCallBack> InsertAsync(CoreCmsDistributionCondition entity);
/// <summary>
/// 重写异步更新方法
/// </summary>
/// <param name="entity"></param>
/// <returns></returns>
new Task<AdminUiCallBack> UpdateAsync(CoreCmsDistributionCondition entity);
/// <summary>
/// 重写异步更新方法
/// </summary>
/// <param name="entity"></param>
/// <returns></returns>
new Task<AdminUiCallBack> UpdateAsync(List<CoreCmsDistributionCondition> entity);
Task<AdminUiCallBack> UpdateAsync(CoreCmsDistributionCondition entity);
/// <summary>
/// 重写删除指定ID的数据
/// </summary>
/// <param name="id"></param>
/// <returns></returns>
new Task<AdminUiCallBack> DeleteByIdAsync(object id);
/// <summary>
/// 重写删除指定ID集合的数据(批量删除)
/// </summary>
/// <param name="ids"></param>
/// <returns></returns>
new Task<AdminUiCallBack> DeleteByIdsAsync(int[] ids);
#endregion
#region ==========================================================
/// <summary>
/// 获取缓存的所有数据
/// </summary>
/// <returns></returns>
Task<List<CoreCmsDistributionCondition>> GetCaChe();
/// <summary>
/// 更新cache
/// </summary>
Task<List<CoreCmsDistributionCondition>> UpdateCaChe();
Task<AdminUiCallBack> DeleteByIdAsync(object id);
#endregion
}

View File

@@ -36,11 +36,11 @@ namespace CoreCms.Net.IServices
/// <param name="orderByExpression"></param>
/// <param name="blUseNoLock">是否使用WITH(NOLOCK)</param>
/// <returns></returns>
new Task<IPageList<CoreCmsDistributionGrade>> QueryPageAsync(
Expression<Func<CoreCmsDistributionGrade, bool>> predicate,
Expression<Func<CoreCmsDistributionGrade, object>> orderByExpression, OrderByType orderByType,
int pageIndex = 1,
int pageSize = 20, bool blUseNoLock = false);
Task<IPageList<CoreCmsDistributionGrade>> QueryPageAsync(
Expression<Func<CoreCmsDistributionGrade, bool>> predicate,
Expression<Func<CoreCmsDistributionGrade, object>> orderByExpression, OrderByType orderByType,
int pageIndex = 1,
int pageSize = 20, bool blUseNoLock = false);
#endregion
@@ -51,14 +51,14 @@ namespace CoreCms.Net.IServices
/// </summary>
/// <param name="entity"></param>
/// <returns></returns>
new Task<AdminUiCallBack> InsertAsync(CoreCmsDistributionGrade entity);
Task<AdminUiCallBack> InsertAsync(CoreCmsDistributionGrade entity);
/// <summary>
/// 重写异步更新方法
/// </summary>
/// <param name="entity"></param>
/// <returns></returns>
new Task<AdminUiCallBack> UpdateAsync(CoreCmsDistributionGrade entity);
Task<AdminUiCallBack> UpdateAsync(CoreCmsDistributionGrade entity);
/// <summary>
/// 重写删除指定ID的数据
@@ -78,11 +78,6 @@ namespace CoreCms.Net.IServices
/// <returns></returns>
Task<List<CoreCmsDistributionGrade>> GetCaChe();
/// <summary>
/// 更新cache
/// </summary>
Task<List<CoreCmsDistributionGrade>> UpdateCaChe();
#endregion
}
}

View File

@@ -24,60 +24,5 @@ namespace CoreCms.Net.IServices
/// </summary>
public interface ICoreCmsDistributionOrderDetailsServices : IBaseServices<CoreCmsDistributionOrderDetails>
{
#region ===========================================================
/// <summary>
/// 重写异步插入方法
/// </summary>
/// <param name="entity"></param>
/// <returns></returns>
new Task<AdminUiCallBack> InsertAsync(CoreCmsDistributionOrderDetails entity);
/// <summary>
/// 重写异步更新方法
/// </summary>
/// <param name="entity"></param>
/// <returns></returns>
new Task<AdminUiCallBack> UpdateAsync(CoreCmsDistributionOrderDetails entity);
/// <summary>
/// 重写异步更新方法
/// </summary>
/// <param name="entity"></param>
/// <returns></returns>
new Task<AdminUiCallBack> UpdateAsync(List<CoreCmsDistributionOrderDetails> entity);
/// <summary>
/// 重写删除指定ID的数据
/// </summary>
/// <param name="id"></param>
/// <returns></returns>
new Task<AdminUiCallBack> DeleteByIdAsync(object id);
/// <summary>
/// 重写删除指定ID集合的数据(批量删除)
/// </summary>
/// <param name="ids"></param>
/// <returns></returns>
new Task<AdminUiCallBack> DeleteByIdsAsync(int[] ids);
#endregion
#region
/// <summary>
/// 重写根据条件查询分页数据
/// </summary>
/// <param name="predicate">判断集合</param>
/// <param name="orderByType">排序方式</param>
/// <param name="pageIndex">当前页面索引</param>
/// <param name="pageSize">分布大小</param>
/// <param name="orderByExpression"></param>
/// <param name="blUseNoLock">是否使用WITH(NOLOCK)</param>
/// <returns></returns>
new Task<IPageList<CoreCmsDistributionOrderDetails>> QueryPageAsync(
Expression<Func<CoreCmsDistributionOrderDetails, bool>> predicate,
Expression<Func<CoreCmsDistributionOrderDetails, object>> orderByExpression, OrderByType orderByType, int pageIndex = 1,
int pageSize = 20, bool blUseNoLock = false);
#endregion
}
}

View File

@@ -36,7 +36,7 @@ namespace CoreCms.Net.IServices
/// <param name="orderByExpression"></param>
/// <param name="blUseNoLock">是否使用WITH(NOLOCK)</param>
/// <returns></returns>
new Task<IPageList<CoreCmsDistributionOrder>> QueryPageAsync(
Task<IPageList<CoreCmsDistributionOrder>> QueryPageAsync(
Expression<Func<CoreCmsDistributionOrder, bool>> predicate,
Expression<Func<CoreCmsDistributionOrder, object>> orderByExpression, OrderByType orderByType,
int pageIndex = 1,

View File

@@ -36,7 +36,7 @@ namespace CoreCms.Net.IServices
/// <param name="orderByExpression"></param>
/// <param name="blUseNoLock">是否使用WITH(NOLOCK)</param>
/// <returns></returns>
new Task<IPageList<CoreCmsDistributionResult>> QueryPageAsync(
Task<IPageList<CoreCmsDistributionResult>> QueryPageAsync(
Expression<Func<CoreCmsDistributionResult, bool>> predicate,
Expression<Func<CoreCmsDistributionResult, object>> orderByExpression, OrderByType orderByType,
int pageIndex = 1,
@@ -51,52 +51,30 @@ namespace CoreCms.Net.IServices
/// </summary>
/// <param name="entity"></param>
/// <returns></returns>
new Task<AdminUiCallBack> InsertAsync(CoreCmsDistributionResult entity);
Task<AdminUiCallBack> InsertAsync(CoreCmsDistributionResult entity);
/// <summary>
/// 重写异步更新方法
/// </summary>
/// <param name="entity"></param>
/// <returns></returns>
new Task<AdminUiCallBack> UpdateAsync(CoreCmsDistributionResult entity);
/// <summary>
/// 重写异步更新方法
/// </summary>
/// <param name="entity"></param>
/// <returns></returns>
new Task<AdminUiCallBack> UpdateAsync(List<CoreCmsDistributionResult> entity);
Task<AdminUiCallBack> UpdateAsync(CoreCmsDistributionResult entity);
/// <summary>
/// 重写删除指定ID的数据
/// </summary>
/// <param name="id"></param>
/// <returns></returns>
new Task<AdminUiCallBack> DeleteByIdAsync(object id);
Task<AdminUiCallBack> DeleteByIdAsync(object id);
/// <summary>
/// 重写删除指定ID集合的数据(批量删除)
/// </summary>
/// <param name="ids"></param>
/// <returns></returns>
new Task<AdminUiCallBack> DeleteByIdsAsync(int[] ids);
Task<AdminUiCallBack> DeleteByIdsAsync(int[] ids);
#endregion
#region ==========================================================
/// <summary>
/// 获取缓存的所有数据
/// </summary>
/// <returns></returns>
Task<List<CoreCmsDistributionResult>> GetCaChe();
/// <summary>
/// 更新cache
/// </summary>
Task<List<CoreCmsDistributionResult>> UpdateCaChe();
#endregion
}
}

View File

@@ -101,10 +101,10 @@ namespace CoreCms.Net.IServices
/// <param name="orderByExpression"></param>
/// <param name="blUseNoLock">是否使用WITH(NOLOCK)</param>
/// <returns></returns>
new Task<IPageList<CoreCmsDistribution>> QueryPageAsync(
Expression<Func<CoreCmsDistribution, bool>> predicate,
Expression<Func<CoreCmsDistribution, object>> orderByExpression, OrderByType orderByType, int pageIndex = 1,
int pageSize = 20, bool blUseNoLock = false);
Task<IPageList<CoreCmsDistribution>> QueryPageAsync(
Expression<Func<CoreCmsDistribution, bool>> predicate,
Expression<Func<CoreCmsDistribution, object>> orderByExpression, OrderByType orderByType, int pageIndex = 1,
int pageSize = 20, bool blUseNoLock = false);
#endregion
}

View File

@@ -43,10 +43,10 @@ namespace CoreCms.Net.IServices
/// <param name="orderByExpression"></param>
/// <param name="blUseNoLock">是否使用WITH(NOLOCK)</param>
/// <returns></returns>
new Task<IPageList<CoreCmsInvoice>> QueryPageAsync(
Expression<Func<CoreCmsInvoice, bool>> predicate,
Expression<Func<CoreCmsInvoice, object>> orderByExpression, OrderByType orderByType, int pageIndex = 1,
int pageSize = 20, bool blUseNoLock = false);
Task<IPageList<CoreCmsInvoice>> QueryPageAsync(
Expression<Func<CoreCmsInvoice, bool>> predicate,
Expression<Func<CoreCmsInvoice, object>> orderByExpression, OrderByType orderByType, int pageIndex = 1,
int pageSize = 20, bool blUseNoLock = false);
#endregion
}

View File

@@ -27,10 +27,8 @@ namespace CoreCms.Net.IServices
/// </summary>
/// <returns></returns>
Task<List<CoreCmsGoodsCategory>> GetCaChe();
#endregion
/// <summary>
/// 判断商品分类下面是否有某一个商品分类
/// </summary>
@@ -38,8 +36,6 @@ namespace CoreCms.Net.IServices
/// <param name="catId"></param>
/// <returns></returns>
Task<bool> IsChild(int catParentId, int catId);
/// <summary>
/// 判断是否含有子类
/// </summary>
@@ -56,7 +52,7 @@ namespace CoreCms.Net.IServices
/// </summary>
/// <param name="entity"></param>
/// <returns></returns>
new Task<AdminUiCallBack> InsertAsync(CoreCmsGoodsCategory entity);
Task<AdminUiCallBack> InsertAsync(CoreCmsGoodsCategory entity);
/// <summary>
@@ -64,31 +60,14 @@ namespace CoreCms.Net.IServices
/// </summary>
/// <param name="entity"></param>
/// <returns></returns>
new Task<AdminUiCallBack> UpdateAsync(CoreCmsGoodsCategory entity);
/// <summary>
/// 重写异步更新方法方法
/// </summary>
/// <param name="entity"></param>
/// <returns></returns>
new Task<AdminUiCallBack> UpdateAsync(List<CoreCmsGoodsCategory> entity);
Task<AdminUiCallBack> UpdateAsync(CoreCmsGoodsCategory entity);
/// <summary>
/// 重写删除指定ID的数据
/// </summary>
/// <param name="id"></param>
/// <returns></returns>
new Task<AdminUiCallBack> DeleteByIdAsync(object id);
/// <summary>
/// 重写删除指定ID集合的数据(批量删除)
/// </summary>
/// <param name="ids"></param>
/// <returns></returns>
new Task<AdminUiCallBack> DeleteByIdsAsync(int[] ids);
Task<AdminUiCallBack> DeleteByIdAsync(object id);
#endregion
}

View File

@@ -14,8 +14,8 @@ 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 CoreCms.Net.Model.ViewModels.DTO;
using CoreCms.Net.Model.ViewModels.UI;
using SqlSugar;
namespace CoreCms.Net.IServices
@@ -65,49 +65,29 @@ namespace CoreCms.Net.IServices
/// <param name="orderByExpression"></param>
/// <param name="blUseNoLock">是否使用WITH(NOLOCK)</param>
/// <returns></returns>
new Task<IPageList<CoreCmsGoodsComment>> QueryPageAsync(
Expression<Func<CoreCmsGoodsComment, bool>> predicate,
Expression<Func<CoreCmsGoodsComment, object>> orderByExpression, OrderByType orderByType, int pageIndex = 1,
int pageSize = 20, bool blUseNoLock = false);
Task<IPageList<CoreCmsGoodsComment>> QueryPageAsync(
Expression<Func<CoreCmsGoodsComment, bool>> predicate,
Expression<Func<CoreCmsGoodsComment, object>> orderByExpression, OrderByType orderByType, int pageIndex = 1,
int pageSize = 20, bool blUseNoLock = false);
#endregion
#region ===========================================================
/// <summary>
/// 重写异步插入方法
/// </summary>
/// <param name="entity"></param>
/// <returns></returns>
new Task<AdminUiCallBack> InsertAsync(CoreCmsGoodsComment entity);
/// <summary>
/// 重写异步更新方法
/// </summary>
/// <param name="entity"></param>
/// <returns></returns>
new Task<AdminUiCallBack> UpdateAsync(CoreCmsGoodsComment entity);
/// <summary>
/// 重写异步更新方法
/// </summary>
/// <param name="entity"></param>
/// <returns></returns>
new Task<AdminUiCallBack> UpdateAsync(List<CoreCmsGoodsComment> entity);
Task<AdminUiCallBack> UpdateAsync(CoreCmsGoodsComment entity);
/// <summary>
/// 重写删除指定ID的数据
/// </summary>
/// <param name="id"></param>
/// <returns></returns>
new Task<AdminUiCallBack> DeleteByIdAsync(object id);
/// <summary>
/// 重写删除指定ID集合的数据(批量删除)
/// </summary>
/// <param name="ids"></param>
/// <returns></returns>
new Task<AdminUiCallBack> DeleteByIdsAsync(int[] ids);
Task<AdminUiCallBack> DeleteByIdAsync(object id);
#endregion
}

View File

@@ -15,6 +15,7 @@ using System.Threading.Tasks;
using CoreCms.Net.Model.Entities;
using CoreCms.Net.Model.FromBody;
using CoreCms.Net.Model.ViewModels.Basics;
using CoreCms.Net.Model.ViewModels.DTO;
using CoreCms.Net.Model.ViewModels.UI;
using SqlSugar;
@@ -111,10 +112,23 @@ namespace CoreCms.Net.IServices
/// <param name="isPromotion"></param>
/// <param name="type"></param>
/// <param name="groupId"></param>
/// <param name="needSku"></param>
/// <returns></returns>
Task<CoreCmsGoods> GetGoodsDetial(int id, int userId = 0, bool isPromotion = false, string type = "goods",
int groupId = 0);
Task<CoreCmsGoods> GetGoodsDetail(int id, int userId = 0, bool isPromotion = false, string type = "goods",
int groupId = 0, bool needSku = false);
/// <summary>
/// 通过商品序列获取sku列表
/// </summary>
/// <param name="good"></param>
/// <param name="products"></param>
/// <param name="userId"></param>
/// <param name="isPromotion"></param>
/// <param name="type"></param>
/// <param name="groupId"></param>
/// <returns></returns>
Task<CoreCmsProductsView> GetCoreCmsProductsView(CoreCmsGoods good, List<CoreCmsProducts> products,
int userId = 0, bool isPromotion = false, string type = "goods", int groupId = 0);
/// <summary>
/// 获取随机推荐数据
@@ -144,10 +158,10 @@ namespace CoreCms.Net.IServices
/// <param name="orderByExpression"></param>
/// <param name="blUseNoLock">是否使用WITH(NOLOCK)</param>
/// <returns></returns>
new Task<IPageList<CoreCmsGoods>> QueryPageAsync(
Expression<Func<CoreCmsGoods, bool>> predicate,
Expression<Func<CoreCmsGoods, object>> orderByExpression, OrderByType orderByType, int pageIndex = 1,
int pageSize = 20, bool blUseNoLock = false);
Task<IPageList<CoreCmsGoods>> QueryPageAsync(
Expression<Func<CoreCmsGoods, bool>> predicate,
Expression<Func<CoreCmsGoods, object>> orderByExpression, OrderByType orderByType, int pageIndex = 1,
int pageSize = 20, bool blUseNoLock = false);
/// <summary>
@@ -159,8 +173,8 @@ namespace CoreCms.Net.IServices
/// <param name="orderByType">排序顺序</param>
/// <param name="blUseNoLock">是否使用WITH(NOLOCK)</param>
/// <returns></returns>
new Task<List<CoreCmsGoods>> QueryListByClauseAsync(Expression<Func<CoreCmsGoods, bool>> predicate, int take,
Expression<Func<CoreCmsGoods, object>> orderByPredicate, OrderByType orderByType, bool blUseNoLock = false);
Task<List<CoreCmsGoods>> QueryListByClauseAsync(Expression<Func<CoreCmsGoods, bool>> predicate, int take,
Expression<Func<CoreCmsGoods, object>> orderByPredicate, OrderByType orderByType, bool blUseNoLock = false);
/// <summary>
@@ -170,9 +184,9 @@ namespace CoreCms.Net.IServices
/// <param name="orderBy">排序</param>
/// <param name="blUseNoLock">是否使用WITH(NOLOCK)</param>
/// <returns>泛型实体集合</returns>
new Task<List<CoreCmsGoods>> QueryListByClauseAsync(Expression<Func<CoreCmsGoods, bool>> predicate,
string orderBy = "",
bool blUseNoLock = false);
Task<List<CoreCmsGoods>> QueryListByClauseAsync(Expression<Func<CoreCmsGoods, bool>> predicate,
string orderBy = "",
bool blUseNoLock = false);
/// <summary>
@@ -184,13 +198,13 @@ namespace CoreCms.Net.IServices
/// <param name="pageSize">分布大小</param>
/// <param name="blUseNoLock">是否使用WITH(NOLOCK)</param>
/// <returns></returns>
new Task<IPageList<CoreCmsGoods>> QueryPageAsync(Expression<Func<CoreCmsGoods, bool>> predicate,
string orderBy = "", int pageIndex = 1,
int pageSize = 20, bool blUseNoLock = false);
Task<IPageList<CoreCmsGoods>> QueryPageAsync(Expression<Func<CoreCmsGoods, bool>> predicate,
string orderBy = "", int pageIndex = 1,
int pageSize = 20, bool blUseNoLock = false);
/// <summary>
/// 根据条件查询代理池商品分页数据
/// 重写根据条件及自定义排序查询分页数据
/// </summary>
/// <param name="predicate"></param>
/// <param name="orderBy"></param>
@@ -216,6 +230,7 @@ namespace CoreCms.Net.IServices
Expression<Func<CoreCmsGoods, object>> orderByExpression, OrderByType orderByType, int pageIndex = 1,
int pageSize = 20, bool blUseNoLock = false);
/// <summary>
/// 获取下拉商品数据
/// </summary>
@@ -240,28 +255,12 @@ namespace CoreCms.Net.IServices
Task<AdminUiCallBack> UpdateAsync(FMGoodsInsertModel entity);
///// <summary>
///// 重写异步更新方法方法
///// </summary>
///// <param name="entity"></param>
///// <returns></returns>
//new Task<AdminUiCallBack> UpdateAsync(List<CoreCmsGoods> entity);
///// <summary>
///// 重写删除指定ID的数据
///// </summary>
///// <param name="id"></param>
///// <returns></returns>
//new Task<AdminUiCallBack> DeleteByIdAsync(object id);
/// <summary>
/// 重写删除指定ID集合的数据(批量删除)
/// </summary>
/// <param name="ids"></param>
/// <returns></returns>
new Task<AdminUiCallBack> DeleteByIdsAsync(int[] ids);
Task<AdminUiCallBack> DeleteByIdsAsync(int[] ids);
#endregion
}

View File

@@ -37,29 +37,12 @@ namespace CoreCms.Net.IServices
/// <returns></returns>
Task<AdminUiCallBack> UpdateAsync(FmGoodsTypeSpecUpdate entity);
///// <summary>
///// 重写异步更新方法方法
///// </summary>
///// <param name="entity"></param>
///// <returns></returns>
//new Task<AdminUiCallBack> UpdateAsync(List<CoreCmsGoodsTypeSpec> entity);
/// <summary>
/// 重写删除指定ID的数据
/// </summary>
/// <param name="id"></param>
/// <returns></returns>
new Task<AdminUiCallBack> DeleteByIdAsync(object id);
///// <summary>
///// 重写删除指定ID集合的数据(批量删除)
///// </summary>
///// <param name="ids"></param>
///// <returns></returns>
//new Task<AdminUiCallBack> DeleteByIdsAsync(int[] ids);
Task<AdminUiCallBack> DeleteByIdAsync(object id);
#endregion
}

View File

@@ -14,6 +14,7 @@ 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;

File diff suppressed because it is too large Load Diff

View File

@@ -44,7 +44,7 @@ namespace CoreCms.Net.IServices
/// <param name="mobile"></param>
/// <param name="contentBody"></param>
/// <param name="smsOptions"></param>
Task<string> SendSms(string mobile, string contentBody, SMSOptions smsOptions);
Task<string> SendSms(string mobile, string contentBody, SmsOptions smsOptions);
/// <summary>
/// 校验短信验证码

View File

@@ -26,7 +26,7 @@ namespace CoreCms.Net.IServices
public interface ICoreCmsOrderServices : IBaseServices<CoreCmsOrder>
{
/// <summary>
/// 查询团购秒杀下单数量
/// 查询团购秒杀下单数量(获取货品的秒杀团购数据)
/// </summary>
/// <param name="productId"></param>
/// <param name="userId"></param>
@@ -38,6 +38,18 @@ namespace CoreCms.Net.IServices
int orderType = 0);
/// <summary>
/// 查询团购秒杀下单数量(获取商品序号的秒杀团购数据)
/// </summary>
/// <param name="goodId"></param>
/// <param name="userId"></param>
/// <param name="startTime"></param>
/// <param name="endTime"></param>
/// <param name="orderType"></param>
/// <returns></returns>
public FindLimitOrderDto FindLimitOrderByGoodId(int goodId, int userId, DateTime? startTime,
DateTime? endTime, int orderType = 0);
/// <summary>
/// 获取税号
/// </summary>
@@ -235,7 +247,7 @@ namespace CoreCms.Net.IServices
/// <param name="remark"></param>
/// <param name="source">来源/system(系统)/wxpost微信消息推送</param>
/// <returns></returns>
Task<WebApiCallBack> CompleteOrder(string orderId, int score = 0, string remark = "后台订单完成操作",string source="system");
Task<WebApiCallBack> CompleteOrder(string orderId, int score = 0, string remark = "后台订单完成操作", string source = "system");
/// <summary>
/// 确认签收订单
@@ -309,9 +321,9 @@ namespace CoreCms.Net.IServices
/// <param name="orderByExpression"></param>
/// <param name="blUseNoLock">是否使用WITH(NOLOCK)</param>
/// <returns></returns>
new Task<IPageList<CoreCmsOrder>> QueryPageAsync(
Expression<Func<CoreCmsOrder, bool>> predicate,
Expression<Func<CoreCmsOrder, object>> orderByExpression, OrderByType orderByType, int pageIndex = 1,
int pageSize = 20, bool blUseNoLock = false);
Task<IPageList<CoreCmsOrder>> QueryPageAsync(
Expression<Func<CoreCmsOrder, bool>> predicate,
Expression<Func<CoreCmsOrder, object>> orderByExpression, OrderByType orderByType, int pageIndex = 1,
int pageSize = 20, bool blUseNoLock = false);
}
}

View File

@@ -40,8 +40,6 @@ namespace CoreCms.Net.IServices
/// <param name="ruleId"></param>
/// <param name="goodsId"></param>
/// <param name="status"></param>
/// <param name="page"></param>
/// <param name="limit"></param>
/// <returns></returns>
Task<WebApiCallBack> GetRecord(int ruleId, int goodsId, int status = 0);
@@ -59,7 +57,7 @@ namespace CoreCms.Net.IServices
/// 自动取消到时间的团(定时任务用)
/// </summary>
/// <returns></returns>
Task<WebApiCallBack> AutoCanclePinTuanOrder();
Task<WebApiCallBack> AutoCancelPinTuanOrder();
#region
@@ -74,11 +72,11 @@ namespace CoreCms.Net.IServices
/// <param name="orderByExpression"></param>
/// <param name="blUseNoLock">是否使用WITH(NOLOCK)</param>
/// <returns></returns>
new Task<IPageList<CoreCmsPinTuanRecord>> QueryPageAsync(
Expression<Func<CoreCmsPinTuanRecord, bool>> predicate,
Expression<Func<CoreCmsPinTuanRecord, object>> orderByExpression, OrderByType orderByType,
int pageIndex = 1,
int pageSize = 20, bool blUseNoLock = false);
Task<IPageList<CoreCmsPinTuanRecord>> QueryPageAsync(
Expression<Func<CoreCmsPinTuanRecord, bool>> predicate,
Expression<Func<CoreCmsPinTuanRecord, object>> orderByExpression, OrderByType orderByType,
int pageIndex = 1,
int pageSize = 20, bool blUseNoLock = false);
#endregion
}

View File

@@ -14,8 +14,8 @@ 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 CoreCms.Net.Model.ViewModels.DTO;
using CoreCms.Net.Model.ViewModels.UI;
using SqlSugar;
namespace CoreCms.Net.IServices

View File

@@ -109,8 +109,6 @@ namespace CoreCms.Net.IServices
Task<List<CoreCmsCoupon>> QueryWithAboutAsync(Expression<Func<CoreCmsCoupon, bool>> predicate);
#region
/// <summary>
/// 重写根据条件查询分页数据
/// </summary>
@@ -121,29 +119,22 @@ namespace CoreCms.Net.IServices
/// <param name="orderByExpression"></param>
/// <param name="blUseNoLock">是否使用WITH(NOLOCK)</param>
/// <returns></returns>
new Task<IPageList<CoreCmsCoupon>> QueryPageAsync(
Task<IPageList<CoreCmsCoupon>> QueryPageAsync(
Expression<Func<CoreCmsCoupon, bool>> predicate,
Expression<Func<CoreCmsCoupon, object>> orderByExpression, OrderByType orderByType, int pageIndex = 1,
int pageSize = 20, bool blUseNoLock = false);
#endregion
/// <summary>
/// 获取 我的优惠券可用数量
/// </summary>
/// <param name="userId">用户序列</param>
Task<int> GetMyCouponCount(int userId);
#region
/// <summary>
/// 优惠券返还
/// </summary>
/// <param name="couponCodes">优惠券数组</param>
Task<WebApiCallBack> CancelReturnCoupon(string couponCodes);
#endregion
}
}

View File

@@ -75,5 +75,17 @@ namespace CoreCms.Net.IServices
/// <param name="promotionInfo"></param>
/// <returns></returns>
decimal result_GOODS_ONE_PRICE(JObject parameters, CartProducts cartProducts, CoreCmsPromotion promotionInfo);
/// <summary>
/// 指定商品每第几件减指定金额
/// </summary>
/// <param name="parameters"></param>
/// <param name="cartProducts"></param>
/// <param name="promotionInfo"></param>
/// <returns></returns>
public decimal result_GOODS_HALF_PRICE(JObject parameters, CartProducts cartProducts,
CoreCmsPromotion promotionInfo);
}
}

View File

@@ -13,8 +13,8 @@ using System.Threading.Tasks;
using CoreCms.Net.Configuration;
using CoreCms.Net.Model.Entities;
using CoreCms.Net.Model.ViewModels.Basics;
using CoreCms.Net.Model.ViewModels.UI;
using CoreCms.Net.Model.ViewModels.DTO;
using CoreCms.Net.Model.ViewModels.UI;
namespace CoreCms.Net.IServices
{
@@ -29,7 +29,7 @@ namespace CoreCms.Net.IServices
/// <param name="cart"></param>
/// <param name="type"></param>
/// <returns></returns>
Task<CartDto> ToPromotion(CartDto cart, int type = (int) GlobalEnumVars.PromotionType.Promotion);
Task<CartDto> ToPromotion(CartDto cart, int type = (int)GlobalEnumVars.PromotionType.Promotion);
/// <summary>
/// 购物车的数据传过来,然后去算优惠券
@@ -57,7 +57,7 @@ namespace CoreCms.Net.IServices
/// 获取团购/秒杀商品详情
/// </summary>
/// <returns></returns>
Task<WebApiCallBack> GetGroupDetail(int goodId = 0, int userId = 0, string type = "group", int groupId = 0);
Task<WebApiCallBack> GetGroupDetail(int goodId = 0, int userId = 0, string type = "group", int groupId = 0, bool needSku = false);
/// <summary>
/// 获取可领取的优惠券

View File

@@ -31,8 +31,6 @@ namespace CoreCms.Net.IServices
/// <returns></returns>
Task<WebApiCallBack> CreateUserServicesTickets(string serviceOrderId, string paymentId);
/// <summary>
/// 重写根据条件查询分页数据
/// </summary>
@@ -43,10 +41,10 @@ namespace CoreCms.Net.IServices
/// <param name="orderByExpression"></param>
/// <param name="blUseNoLock">是否使用WITH(NOLOCK)</param>
/// <returns></returns>
new Task<IPageList<CoreCmsUserServicesOrder>> QueryPageAsync(
Expression<Func<CoreCmsUserServicesOrder, bool>> predicate,
Expression<Func<CoreCmsUserServicesOrder, object>> orderByExpression, OrderByType orderByType, int pageIndex = 1,
int pageSize = 20, bool blUseNoLock = false);
Task<IPageList<CoreCmsUserServicesOrder>> QueryPageAsync(
Expression<Func<CoreCmsUserServicesOrder, bool>> predicate,
Expression<Func<CoreCmsUserServicesOrder, object>> orderByExpression, OrderByType orderByType, int pageIndex = 1,
int pageSize = 20, bool blUseNoLock = false);
}
}

View File

@@ -33,7 +33,7 @@ namespace CoreCms.Net.IServices
/// <param name="orderByExpression"></param>
/// <param name="blUseNoLock">是否使用WITH(NOLOCK)</param>
/// <returns></returns>
new Task<IPageList<CoreCmsUserServicesTicket>> QueryPageAsync(
Task<IPageList<CoreCmsUserServicesTicket>> QueryPageAsync(
Expression<Func<CoreCmsUserServicesTicket, bool>> predicate,
Expression<Func<CoreCmsUserServicesTicket, object>> orderByExpression, OrderByType orderByType, int pageIndex = 1,
int pageSize = 20, bool blUseNoLock = false);

View File

@@ -11,8 +11,8 @@
using System.Collections.Generic;
using System.Threading.Tasks;
using CoreCms.Net.Model.Entities;
using CoreCms.Net.Model.ViewModels.UI;
using CoreCms.Net.Model.ViewModels.DTO;
using CoreCms.Net.Model.ViewModels.UI;
namespace CoreCms.Net.IServices
{
@@ -77,52 +77,28 @@ namespace CoreCms.Net.IServices
/// </summary>
/// <param name="entity"></param>
/// <returns></returns>
new Task<AdminUiCallBack> InsertAsync(CoreCmsArea entity);
Task<AdminUiCallBack> InsertAsync(CoreCmsArea entity);
/// <summary>
/// 重写异步更新方法
/// </summary>
/// <param name="entity"></param>
/// <returns></returns>
new Task<AdminUiCallBack> UpdateAsync(CoreCmsArea entity);
/// <summary>
/// 重写异步更新方法
/// </summary>
/// <param name="entity"></param>
/// <returns></returns>
new Task<AdminUiCallBack> UpdateAsync(List<CoreCmsArea> entity);
Task<AdminUiCallBack> UpdateAsync(CoreCmsArea entity);
/// <summary>
/// 重写删除指定ID的数据
/// </summary>
/// <param name="id"></param>
/// <returns></returns>
new Task<AdminUiCallBack> DeleteByIdAsync(object id);
/// <summary>
/// 重写删除指定ID集合的数据(批量删除)
/// </summary>
/// <param name="ids"></param>
/// <returns></returns>
new Task<AdminUiCallBack> DeleteByIdsAsync(int[] ids);
Task<AdminUiCallBack> DeleteByIdAsync(object id);
#endregion
#region ==========================================================
/// <summary>
/// 获取缓存的所有数据
/// </summary>
/// <returns></returns>
Task<List<CoreCmsArea>> GetCaChe();
/// <summary>
/// 更新cache
/// </summary>
Task<List<CoreCmsArea>> UpdateCaChe();
#endregion
}
}

View File

@@ -19,7 +19,7 @@ using SqlSugar;
namespace CoreCms.Net.IServices
{
/// <summary>
/// <summary>
/// 订单配送模式 服务工厂接口
/// </summary>
public interface ICoreCmsOrderDistributionModelServices : IBaseServices<CoreCmsOrderDistributionModel>
@@ -31,39 +31,25 @@ namespace CoreCms.Net.IServices
/// </summary>
/// <param name="entity"></param>
/// <returns></returns>
new Task<AdminUiCallBack> InsertAsync(CoreCmsOrderDistributionModel entity);
Task<AdminUiCallBack> InsertAsync(CoreCmsOrderDistributionModel entity);
/// <summary>
/// 重写异步更新方法
/// </summary>
/// <param name="entity"></param>
/// <returns></returns>
new Task<AdminUiCallBack> UpdateAsync(CoreCmsOrderDistributionModel entity);
/// <summary>
/// 重写异步更新方法
/// </summary>
/// <param name="entity"></param>
/// <returns></returns>
new Task<AdminUiCallBack> UpdateAsync(List<CoreCmsOrderDistributionModel> entity);
Task<AdminUiCallBack> UpdateAsync(CoreCmsOrderDistributionModel entity);
/// <summary>
/// 重写删除指定ID的数据
/// </summary>
/// <param name="id"></param>
/// <returns></returns>
new Task<AdminUiCallBack> DeleteByIdAsync(object id);
/// <summary>
/// 重写删除指定ID集合的数据(批量删除)
/// </summary>
/// <param name="ids"></param>
/// <returns></returns>
new Task<AdminUiCallBack> DeleteByIdsAsync(int[] ids);
Task<AdminUiCallBack> DeleteByIdAsync(object id);
#endregion
#region ==========================================================
/// <summary>
@@ -72,11 +58,6 @@ namespace CoreCms.Net.IServices
/// <returns></returns>
Task<List<CoreCmsOrderDistributionModel>> GetCaChe();
/// <summary>
/// 更新cache
/// </summary>
Task<List<CoreCmsOrderDistributionModel>> UpdateCaChe();
#endregion
#region
@@ -90,10 +71,10 @@ namespace CoreCms.Net.IServices
/// <param name="orderByExpression"></param>
/// <param name="blUseNoLock">是否使用WITH(NOLOCK)</param>
/// <returns></returns>
new Task<IPageList<CoreCmsOrderDistributionModel>> QueryPageAsync(
Expression<Func<CoreCmsOrderDistributionModel, bool>> predicate,
Expression<Func<CoreCmsOrderDistributionModel, object>> orderByExpression, OrderByType orderByType, int pageIndex = 1,
int pageSize = 20, bool blUseNoLock = false);
Task<IPageList<CoreCmsOrderDistributionModel>> QueryPageAsync(
Expression<Func<CoreCmsOrderDistributionModel, bool>> predicate,
Expression<Func<CoreCmsOrderDistributionModel, object>> orderByExpression, OrderByType orderByType, int pageIndex = 1,
int pageSize = 20, bool blUseNoLock = false);
#endregion
}
}

View File

@@ -27,14 +27,14 @@ namespace CoreCms.Net.IServices
/// </summary>
/// <param name="entity"></param>
/// <returns></returns>
new Task<AdminUiCallBack> InsertAsync(CoreCmsPages entity);
Task<AdminUiCallBack> InsertAsync(CoreCmsPages entity);
/// <summary>
/// 重写异步更新方法
/// </summary>
/// <param name="entity"></param>
/// <returns></returns>
new Task<AdminUiCallBack> UpdateAsync(CoreCmsPages entity);
Task<AdminUiCallBack> UpdateAsync(CoreCmsPages entity);
/// <summary>
/// 重写删除指定ID的数据

View File

@@ -36,7 +36,7 @@ namespace CoreCms.Net.IServices
/// <param name="orderByExpression"></param>
/// <param name="blUseNoLock">是否使用WITH(NOLOCK)</param>
/// <returns></returns>
new Task<IPageList<CoreCmsServiceDescription>> QueryPageAsync(
Task<IPageList<CoreCmsServiceDescription>> QueryPageAsync(
Expression<Func<CoreCmsServiceDescription, bool>> predicate,
Expression<Func<CoreCmsServiceDescription, object>> orderByExpression, OrderByType orderByType,
int pageIndex = 1,
@@ -51,35 +51,21 @@ namespace CoreCms.Net.IServices
/// </summary>
/// <param name="entity"></param>
/// <returns></returns>
new Task<AdminUiCallBack> InsertAsync(CoreCmsServiceDescription entity);
Task<AdminUiCallBack> InsertAsync(CoreCmsServiceDescription entity);
/// <summary>
/// 重写异步更新方法
/// </summary>
/// <param name="entity"></param>
/// <returns></returns>
new Task<AdminUiCallBack> UpdateAsync(CoreCmsServiceDescription entity);
/// <summary>
/// 重写异步更新方法
/// </summary>
/// <param name="entity"></param>
/// <returns></returns>
new Task<AdminUiCallBack> UpdateAsync(List<CoreCmsServiceDescription> entity);
Task<AdminUiCallBack> UpdateAsync(CoreCmsServiceDescription entity);
/// <summary>
/// 重写删除指定ID的数据
/// </summary>
/// <param name="id"></param>
/// <returns></returns>
new Task<AdminUiCallBack> DeleteByIdAsync(object id);
/// <summary>
/// 重写删除指定ID集合的数据(批量删除)
/// </summary>
/// <param name="ids"></param>
/// <returns></returns>
new Task<AdminUiCallBack> DeleteByIdsAsync(int[] ids);
Task<AdminUiCallBack> DeleteByIdAsync(object id);
#endregion
@@ -92,11 +78,6 @@ namespace CoreCms.Net.IServices
/// <returns></returns>
Task<List<CoreCmsServiceDescription>> GetCaChe();
/// <summary>
/// 更新cache
/// </summary>
Task<List<CoreCmsServiceDescription>> UpdateCaChe();
#endregion
}
}

View File

@@ -48,6 +48,6 @@ namespace CoreCms.Net.IServices
/// 获取短信配置实体
/// </summary>
/// <returns></returns>
Task<SMSOptions> GetSmsOptions();
Task<SmsOptions> GetSmsOptions();
}
}

View File

@@ -44,7 +44,7 @@ namespace CoreCms.Net.IServices
/// <param name="orderByExpression"></param>
/// <param name="blUseNoLock">是否使用WITH(NOLOCK)</param>
/// <returns></returns>
new Task<IPageList<CoreCmsShip>> QueryPageAsync(
Task<IPageList<CoreCmsShip>> QueryPageAsync(
Expression<Func<CoreCmsShip, bool>> predicate,
Expression<Func<CoreCmsShip, object>> orderByExpression, OrderByType orderByType, int pageIndex = 1,
int pageSize = 20, bool blUseNoLock = false);
@@ -84,14 +84,14 @@ namespace CoreCms.Net.IServices
/// </summary>
/// <param name="entity"></param>
/// <returns></returns>
new Task<AdminUiCallBack> InsertAsync(CoreCmsShip entity);
Task<AdminUiCallBack> InsertAsync(CoreCmsShip entity);
/// <summary>
/// 重写异步更新方法
/// </summary>
/// <param name="entity"></param>
/// <returns></returns>
new Task<AdminUiCallBack> UpdateAsync(CoreCmsShip entity);
Task<AdminUiCallBack> UpdateAsync(CoreCmsShip entity);
/// <summary>

View File

@@ -28,7 +28,7 @@ namespace CoreCms.Net.IServices
/// </summary>
/// <param name="entity"></param>
/// <returns></returns>
new Task<AdminUiCallBack> InsertAsync(CoreCmsStore entity);
Task<AdminUiCallBack> InsertAsync(CoreCmsStore entity);
/// <summary>
@@ -36,7 +36,7 @@ namespace CoreCms.Net.IServices
/// </summary>
/// <param name="entity"></param>
/// <returns></returns>
new Task<AdminUiCallBack> UpdateAsync(CoreCmsStore entity);
Task<AdminUiCallBack> UpdateAsync(CoreCmsStore entity);
/// <summary>

View File

@@ -19,7 +19,7 @@ using SqlSugar;
namespace CoreCms.Net.IServices
{
/// <summary>
/// <summary>
/// 接龙活动商品表 服务工厂接口
/// </summary>
public interface ICoreCmsSolitaireItemsServices : IBaseServices<CoreCmsSolitaireItems>
@@ -31,53 +31,31 @@ namespace CoreCms.Net.IServices
/// </summary>
/// <param name="entity"></param>
/// <returns></returns>
new Task<AdminUiCallBack> InsertAsync(CoreCmsSolitaireItems entity);
Task<AdminUiCallBack> InsertAsync(CoreCmsSolitaireItems entity);
/// <summary>
/// 重写异步更新方法
/// </summary>
/// <param name="entity"></param>
/// <returns></returns>
new Task<AdminUiCallBack> UpdateAsync(CoreCmsSolitaireItems entity);
/// <summary>
/// 重写异步更新方法
/// </summary>
/// <param name="entity"></param>
/// <returns></returns>
new Task<AdminUiCallBack> UpdateAsync(List<CoreCmsSolitaireItems> entity);
Task<AdminUiCallBack> UpdateAsync(CoreCmsSolitaireItems entity);
/// <summary>
/// 重写删除指定ID的数据
/// </summary>
/// <param name="id"></param>
/// <returns></returns>
new Task<AdminUiCallBack> DeleteByIdAsync(object id);
Task<AdminUiCallBack> DeleteByIdAsync(object id);
/// <summary>
/// 重写删除指定ID集合的数据(批量删除)
/// </summary>
/// <param name="ids"></param>
/// <returns></returns>
new Task<AdminUiCallBack> DeleteByIdsAsync(int[] ids);
Task<AdminUiCallBack> DeleteByIdsAsync(int[] ids);
#endregion
#region ==========================================================
/// <summary>
/// 获取缓存的所有数据
/// </summary>
/// <returns></returns>
Task<List<CoreCmsSolitaireItems>> GetCaChe();
/// <summary>
/// 更新cache
/// </summary>
Task<List<CoreCmsSolitaireItems>> UpdateCaChe();
#endregion
/// <summary>
/// 重写根据条件查询列表数据
@@ -87,10 +65,10 @@ namespace CoreCms.Net.IServices
/// <param name="orderByExpression"></param>
/// <param name="blUseNoLock">是否使用WITH(NOLOCK)</param>
/// <returns></returns>
new Task<List<CoreCmsSolitaireItems>> QueryListByClauseAsync(
Expression<Func<CoreCmsSolitaireItems, bool>> predicate,
Expression<Func<CoreCmsSolitaireItems, object>> orderByExpression, OrderByType orderByType,
bool blUseNoLock = false);
Task<List<CoreCmsSolitaireItems>> QueryListByClauseAsync(
Expression<Func<CoreCmsSolitaireItems, bool>> predicate,
Expression<Func<CoreCmsSolitaireItems, object>> orderByExpression, OrderByType orderByType,
bool blUseNoLock = false);
#region
@@ -104,10 +82,10 @@ namespace CoreCms.Net.IServices
/// <param name="orderByExpression"></param>
/// <param name="blUseNoLock">是否使用WITH(NOLOCK)</param>
/// <returns></returns>
new Task<IPageList<CoreCmsSolitaireItems>> QueryPageAsync(
Expression<Func<CoreCmsSolitaireItems, bool>> predicate,
Expression<Func<CoreCmsSolitaireItems, object>> orderByExpression, OrderByType orderByType, int pageIndex = 1,
int pageSize = 20, bool blUseNoLock = false);
Task<IPageList<CoreCmsSolitaireItems>> QueryPageAsync(
Expression<Func<CoreCmsSolitaireItems, bool>> predicate,
Expression<Func<CoreCmsSolitaireItems, object>> orderByExpression, OrderByType orderByType, int pageIndex = 1,
int pageSize = 20, bool blUseNoLock = false);
#endregion
}
}

View File

@@ -32,54 +32,19 @@ namespace CoreCms.Net.IServices
/// </summary>
/// <param name="entity"></param>
/// <returns></returns>
new Task<AdminUiCallBack> InsertAsync(CoreCmsSolitaire entity);
Task<AdminUiCallBack> InsertAsync(CoreCmsSolitaire entity);
/// <summary>
/// 重写异步更新方法
/// </summary>
/// <param name="entity"></param>
/// <returns></returns>
new Task<AdminUiCallBack> UpdateAsync(CoreCmsSolitaire entity);
Task<AdminUiCallBack> UpdateAsync(CoreCmsSolitaire entity);
/// <summary>
/// 重写异步更新方法
/// </summary>
/// <param name="entity"></param>
/// <returns></returns>
new Task<AdminUiCallBack> UpdateAsync(List<CoreCmsSolitaire> entity);
/// <summary>
/// 重写删除指定ID的数据
/// </summary>
/// <param name="id"></param>
/// <returns></returns>
new Task<AdminUiCallBack> DeleteByIdAsync(object id);
/// <summary>
/// 重写删除指定ID集合的数据(批量删除)
/// </summary>
/// <param name="ids"></param>
/// <returns></returns>
new Task<AdminUiCallBack> DeleteByIdsAsync(int[] ids);
#endregion
#region ==========================================================
/// <summary>
/// 获取缓存的所有数据
/// </summary>
/// <returns></returns>
Task<List<CoreCmsSolitaire>> GetCaChe();
/// <summary>
/// 更新cache
/// </summary>
Task<List<CoreCmsSolitaire>> UpdateCaChe();
#endregion
#region
/// <summary>
/// 重写根据条件查询分页数据
@@ -91,10 +56,10 @@ namespace CoreCms.Net.IServices
/// <param name="orderByExpression"></param>
/// <param name="blUseNoLock">是否使用WITH(NOLOCK)</param>
/// <returns></returns>
new Task<IPageList<CoreCmsSolitaire>> QueryPageAsync(
Expression<Func<CoreCmsSolitaire, bool>> predicate,
Expression<Func<CoreCmsSolitaire, object>> orderByExpression, OrderByType orderByType, int pageIndex = 1,
int pageSize = 20, bool blUseNoLock = false);
Task<IPageList<CoreCmsSolitaire>> QueryPageAsync(
Expression<Func<CoreCmsSolitaire, bool>> predicate,
Expression<Func<CoreCmsSolitaire, object>> orderByExpression, OrderByType orderByType, int pageIndex = 1,
int pageSize = 20, bool blUseNoLock = false);
#endregion

View File

@@ -36,50 +36,12 @@ namespace CoreCms.Net.IServices
/// <param name="orderByExpression"></param>
/// <param name="blUseNoLock">是否使用WITH(NOLOCK)</param>
/// <returns></returns>
new Task<IPageList<CoreCmsStockLog>> QueryPageAsync(
Expression<Func<CoreCmsStockLog, bool>> predicate,
Expression<Func<CoreCmsStockLog, object>> orderByExpression, OrderByType orderByType, int pageIndex = 1,
int pageSize = 20, bool blUseNoLock = false);
Task<IPageList<CoreCmsStockLog>> QueryPageAsync(
Expression<Func<CoreCmsStockLog, bool>> predicate,
Expression<Func<CoreCmsStockLog, object>> orderByExpression, OrderByType orderByType, int pageIndex = 1,
int pageSize = 20, bool blUseNoLock = false);
#endregion
#region ===========================================================
/// <summary>
/// 重写异步插入方法
/// </summary>
/// <param name="entity"></param>
/// <returns></returns>
new Task<AdminUiCallBack> InsertAsync(CoreCmsStockLog entity);
/// <summary>
/// 重写异步更新方法
/// </summary>
/// <param name="entity"></param>
/// <returns></returns>
new Task<AdminUiCallBack> UpdateAsync(CoreCmsStockLog entity);
/// <summary>
/// 重写异步更新方法
/// </summary>
/// <param name="entity"></param>
/// <returns></returns>
new Task<AdminUiCallBack> UpdateAsync(List<CoreCmsStockLog> entity);
/// <summary>
/// 重写删除指定ID的数据
/// </summary>
/// <param name="id"></param>
/// <returns></returns>
new Task<AdminUiCallBack> DeleteByIdAsync(object id);
/// <summary>
/// 重写删除指定ID集合的数据(批量删除)
/// </summary>
/// <param name="ids"></param>
/// <returns></returns>
new Task<AdminUiCallBack> DeleteByIdsAsync(int[] ids);
#endregion
}
}

View File

@@ -37,10 +37,10 @@ namespace CoreCms.Net.IServices
/// <param name="orderByExpression"></param>
/// <param name="blUseNoLock">是否使用WITH(NOLOCK)</param>
/// <returns></returns>
new Task<IPageList<CoreCmsStock>> QueryPageAsync(
Expression<Func<CoreCmsStock, bool>> predicate,
Expression<Func<CoreCmsStock, object>> orderByExpression, OrderByType orderByType, int pageIndex = 1,
int pageSize = 20, bool blUseNoLock = false);
Task<IPageList<CoreCmsStock>> QueryPageAsync(
Expression<Func<CoreCmsStock, bool>> predicate,
Expression<Func<CoreCmsStock, object>> orderByExpression, OrderByType orderByType, int pageIndex = 1,
int pageSize = 20, bool blUseNoLock = false);
#endregion
@@ -53,34 +53,6 @@ namespace CoreCms.Net.IServices
/// <returns></returns>
Task<AdminUiCallBack> InsertAsync(FMCreateStock entity);
/// <summary>
/// 重写异步更新方法
/// </summary>
/// <param name="entity"></param>
/// <returns></returns>
new Task<AdminUiCallBack> UpdateAsync(CoreCmsStock entity);
/// <summary>
/// 重写异步更新方法
/// </summary>
/// <param name="entity"></param>
/// <returns></returns>
new Task<AdminUiCallBack> UpdateAsync(List<CoreCmsStock> entity);
/// <summary>
/// 重写删除指定ID的数据
/// </summary>
/// <param name="id"></param>
/// <returns></returns>
new Task<AdminUiCallBack> DeleteByIdAsync(object id);
/// <summary>
/// 重写删除指定ID集合的数据(批量删除)
/// </summary>
/// <param name="ids"></param>
/// <returns></returns>
new Task<AdminUiCallBack> DeleteByIdsAsync(int[] ids);
#endregion
}
}

View File

@@ -19,7 +19,7 @@ using SqlSugar;
namespace CoreCms.Net.IServices
{
/// <summary>
/// <summary>
/// 版本更新表 服务工厂接口
/// </summary>
public interface ICoreCmsAppUpdateLogServices : IBaseServices<CoreCmsAppUpdateLog>
@@ -31,35 +31,21 @@ namespace CoreCms.Net.IServices
/// </summary>
/// <param name="entity"></param>
/// <returns></returns>
new Task<AdminUiCallBack> InsertAsync(CoreCmsAppUpdateLog entity);
Task<AdminUiCallBack> InsertAsync(CoreCmsAppUpdateLog entity);
/// <summary>
/// 重写异步更新方法
/// </summary>
/// <param name="entity"></param>
/// <returns></returns>
new Task<AdminUiCallBack> UpdateAsync(CoreCmsAppUpdateLog entity);
/// <summary>
/// 重写异步更新方法
/// </summary>
/// <param name="entity"></param>
/// <returns></returns>
new Task<AdminUiCallBack> UpdateAsync(List<CoreCmsAppUpdateLog> entity);
Task<AdminUiCallBack> UpdateAsync(CoreCmsAppUpdateLog entity);
/// <summary>
/// 重写删除指定ID的数据
/// </summary>
/// <param name="id"></param>
/// <returns></returns>
new Task<AdminUiCallBack> DeleteByIdAsync(object id);
/// <summary>
/// 重写删除指定ID集合的数据(批量删除)
/// </summary>
/// <param name="ids"></param>
/// <returns></returns>
new Task<AdminUiCallBack> DeleteByIdsAsync(int[] ids);
Task<AdminUiCallBack> DeleteByIdAsync(object id);
#endregion
@@ -75,10 +61,10 @@ namespace CoreCms.Net.IServices
/// <param name="orderByExpression"></param>
/// <param name="blUseNoLock">是否使用WITH(NOLOCK)</param>
/// <returns></returns>
new Task<IPageList<CoreCmsAppUpdateLog>> QueryPageAsync(
Expression<Func<CoreCmsAppUpdateLog, bool>> predicate,
Expression<Func<CoreCmsAppUpdateLog, object>> orderByExpression, OrderByType orderByType, int pageIndex = 1,
int pageSize = 20, bool blUseNoLock = false);
Task<IPageList<CoreCmsAppUpdateLog>> QueryPageAsync(
Expression<Func<CoreCmsAppUpdateLog, bool>> predicate,
Expression<Func<CoreCmsAppUpdateLog, object>> orderByExpression, OrderByType orderByType, int pageIndex = 1,
int pageSize = 20, bool blUseNoLock = false);
#endregion
}
}

View File

@@ -27,21 +27,14 @@ namespace CoreCms.Net.IServices
/// </summary>
/// <param name="entity"></param>
/// <returns></returns>
new Task<AdminUiCallBack> InsertAsync(SysMenu entity);
Task<AdminUiCallBack> InsertAsync(SysMenu entity);
/// <summary>
/// 重写异步更新方法
/// </summary>
/// <param name="entity"></param>
/// <returns></returns>
new Task<AdminUiCallBack> UpdateAsync(SysMenu entity);
/// <summary>
/// 重写异步更新方法
/// </summary>
/// <param name="entity"></param>
/// <returns></returns>
new Task<AdminUiCallBack> UpdateAsync(List<SysMenu> entity);
Task<AdminUiCallBack> UpdateAsync(SysMenu entity);
/// <summary>
/// 重写删除指定ID的数据
@@ -51,21 +44,5 @@ namespace CoreCms.Net.IServices
Task<AdminUiCallBack> DeleteByIdAsync(int id);
#endregion
#region ==========================================================
/// <summary>
/// 获取缓存的所有数据
/// </summary>
/// <returns></returns>
Task<List<SysMenu>> GetCaChe();
/// <summary>
/// 更新cache
/// </summary>
Task<List<SysMenu>> UpdateCaChe();
#endregion
}
}

View File

@@ -35,7 +35,7 @@ namespace CoreCms.Net.IServices
/// <param name="orderByExpression"></param>
/// <param name="blUseNoLock">是否使用WITH(NOLOCK)</param>
/// <returns></returns>
new Task<IPageList<SysUserOperationLog>> QueryPageAsync(
Task<IPageList<SysUserOperationLog>> QueryPageAsync(
Expression<Func<SysUserOperationLog, bool>> predicate,
Expression<Func<SysUserOperationLog, object>> orderByExpression, OrderByType orderByType, int pageIndex = 1,
int pageSize = 20, bool blUseNoLock = false);

View File

@@ -55,10 +55,10 @@ namespace CoreCms.Net.IServices
/// <param name="orderByExpression"></param>
/// <param name="blUseNoLock">是否使用WITH(NOLOCK)</param>
/// <returns></returns>
new Task<IPageList<CoreCmsUserBalance>> QueryPageAsync(
Expression<Func<CoreCmsUserBalance, bool>> predicate,
Expression<Func<CoreCmsUserBalance, object>> orderByExpression, OrderByType orderByType, int pageIndex = 1,
int pageSize = 20, bool blUseNoLock = false);
Task<IPageList<CoreCmsUserBalance>> QueryPageAsync(
Expression<Func<CoreCmsUserBalance, bool>> predicate,
Expression<Func<CoreCmsUserBalance, object>> orderByExpression, OrderByType orderByType, int pageIndex = 1,
int pageSize = 20, bool blUseNoLock = false);
#endregion
}

View File

@@ -105,7 +105,7 @@ namespace CoreCms.Net.IServices
/// <param name="platform"></param>
/// <returns></returns>
Task<WebApiCallBack> SmsLogin(FMWxAccountCreate entity,
int loginType = (int)GlobalEnumVars.LoginType.WeChatPhoneNumber, int platform = 1);
int loginType = (int)GlobalEnumVars.LoginType.WeChatPhoneNumber, int platform = (int)GlobalEnumVars.CoreShopSystemCategory.Api);
/// <summary>

View File

@@ -24,14 +24,13 @@ namespace CoreCms.Net.IServices
/// </summary>
/// <param name="entity"></param>
/// <returns></returns>
new Task<WebApiCallBack> InsertAsync(CoreCmsUserShip entity);
Task<WebApiCallBack> InsertAsync(CoreCmsUserShip entity);
/// <summary>
/// 重写异步更新方法方法
/// </summary>
/// <param name="entity"></param>
/// <returns></returns>
new Task<AdminUiCallBack> UpdateAsync(CoreCmsUserShip entity);
Task<AdminUiCallBack> UpdateAsync(CoreCmsUserShip entity);
}
}

View File

@@ -62,7 +62,7 @@ namespace CoreCms.Net.IServices
/// <param name="orderByExpression"></param>
/// <param name="blUseNoLock">是否使用WITH(NOLOCK)</param>
/// <returns></returns>
new Task<IPageList<CoreCmsUserTocash>> QueryPageAsync(
Task<IPageList<CoreCmsUserTocash>> QueryPageAsync(
Expression<Func<CoreCmsUserTocash, bool>> predicate,
Expression<Func<CoreCmsUserTocash, object>> orderByExpression, OrderByType orderByType, int pageIndex = 1,
int pageSize = 20, bool blUseNoLock = false);

View File

@@ -23,8 +23,6 @@ namespace CoreCms.Net.IServices
public interface ICoreCmsUserWeChatInfoServices : IBaseServices<CoreCmsUserWeChatInfo>
{
#region
/// <summary>
/// 重写根据条件查询分页数据
@@ -36,10 +34,10 @@ namespace CoreCms.Net.IServices
/// <param name="orderByExpression"></param>
/// <param name="blUseNoLock">是否使用WITH(NOLOCK)</param>
/// <returns></returns>
new Task<IPageList<CoreCmsUserWeChatInfo>> QueryPageAsync(
Expression<Func<CoreCmsUserWeChatInfo, bool>> predicate,
Expression<Func<CoreCmsUserWeChatInfo, object>> orderByExpression, OrderByType orderByType, int pageIndex = 1,
int pageSize = 20, bool blUseNoLock = false);
Task<IPageList<CoreCmsUserWeChatInfo>> QueryPageAsync(
Expression<Func<CoreCmsUserWeChatInfo, bool>> predicate,
Expression<Func<CoreCmsUserWeChatInfo, object>> orderByExpression, OrderByType orderByType, int pageIndex = 1,
int pageSize = 20, bool blUseNoLock = false);
#endregion
}

View File

@@ -31,35 +31,21 @@ namespace CoreCms.Net.IServices
/// </summary>
/// <param name="entity"></param>
/// <returns></returns>
new Task<AdminUiCallBack> InsertAsync(WeChatTransactionComponentAuditCategory entity);
Task<AdminUiCallBack> InsertAsync(WeChatTransactionComponentAuditCategory entity);
/// <summary>
/// 重写异步更新方法
/// </summary>
/// <param name="entity"></param>
/// <returns></returns>
new Task<AdminUiCallBack> UpdateAsync(WeChatTransactionComponentAuditCategory entity);
/// <summary>
/// 重写异步更新方法
/// </summary>
/// <param name="entity"></param>
/// <returns></returns>
new Task<AdminUiCallBack> UpdateAsync(List<WeChatTransactionComponentAuditCategory> entity);
Task<AdminUiCallBack> UpdateAsync(WeChatTransactionComponentAuditCategory entity);
/// <summary>
/// 重写删除指定ID的数据
/// </summary>
/// <param name="id"></param>
/// <returns></returns>
new Task<AdminUiCallBack> DeleteByIdAsync(object id);
/// <summary>
/// 重写删除指定ID集合的数据(批量删除)
/// </summary>
/// <param name="ids"></param>
/// <returns></returns>
new Task<AdminUiCallBack> DeleteByIdsAsync(int[] ids);
Task<AdminUiCallBack> DeleteByIdAsync(object id);
#endregion
@@ -83,10 +69,10 @@ namespace CoreCms.Net.IServices
/// <param name="orderByExpression"></param>
/// <param name="blUseNoLock">是否使用WITH(NOLOCK)</param>
/// <returns></returns>
new Task<IPageList<WeChatTransactionComponentAuditCategory>> QueryPageAsync(
Expression<Func<WeChatTransactionComponentAuditCategory, bool>> predicate,
Expression<Func<WeChatTransactionComponentAuditCategory, object>> orderByExpression, OrderByType orderByType, int pageIndex = 1,
int pageSize = 20, bool blUseNoLock = false);
Task<IPageList<WeChatTransactionComponentAuditCategory>> QueryPageAsync(
Expression<Func<WeChatTransactionComponentAuditCategory, bool>> predicate,
Expression<Func<WeChatTransactionComponentAuditCategory, object>> orderByExpression, OrderByType orderByType, int pageIndex = 1,
int pageSize = 20, bool blUseNoLock = false);
#endregion
}
}

View File

@@ -31,35 +31,21 @@ namespace CoreCms.Net.IServices
/// </summary>
/// <param name="entity"></param>
/// <returns></returns>
new Task<AdminUiCallBack> InsertAsync(WeChatTransactionComponentBrandAudit entity);
Task<AdminUiCallBack> InsertAsync(WeChatTransactionComponentBrandAudit entity);
/// <summary>
/// 重写异步更新方法
/// </summary>
/// <param name="entity"></param>
/// <returns></returns>
new Task<AdminUiCallBack> UpdateAsync(WeChatTransactionComponentBrandAudit entity);
/// <summary>
/// 重写异步更新方法
/// </summary>
/// <param name="entity"></param>
/// <returns></returns>
new Task<AdminUiCallBack> UpdateAsync(List<WeChatTransactionComponentBrandAudit> entity);
Task<AdminUiCallBack> UpdateAsync(WeChatTransactionComponentBrandAudit entity);
/// <summary>
/// 重写删除指定ID的数据
/// </summary>
/// <param name="id"></param>
/// <returns></returns>
new Task<AdminUiCallBack> DeleteByIdAsync(object id);
/// <summary>
/// 重写删除指定ID集合的数据(批量删除)
/// </summary>
/// <param name="ids"></param>
/// <returns></returns>
new Task<AdminUiCallBack> DeleteByIdsAsync(int[] ids);
Task<AdminUiCallBack> DeleteByIdAsync(object id);
#endregion
@@ -74,10 +60,10 @@ namespace CoreCms.Net.IServices
/// <param name="orderByExpression"></param>
/// <param name="blUseNoLock">是否使用WITH(NOLOCK)</param>
/// <returns></returns>
new Task<IPageList<WeChatTransactionComponentBrandAudit>> QueryPageAsync(
Expression<Func<WeChatTransactionComponentBrandAudit, bool>> predicate,
Expression<Func<WeChatTransactionComponentBrandAudit, object>> orderByExpression, OrderByType orderByType, int pageIndex = 1,
int pageSize = 20, bool blUseNoLock = false);
Task<IPageList<WeChatTransactionComponentBrandAudit>> QueryPageAsync(
Expression<Func<WeChatTransactionComponentBrandAudit, bool>> predicate,
Expression<Func<WeChatTransactionComponentBrandAudit, object>> orderByExpression, OrderByType orderByType, int pageIndex = 1,
int pageSize = 20, bool blUseNoLock = false);
#endregion
}
}

View File

@@ -32,11 +32,6 @@ namespace CoreCms.Net.IServices
/// <returns></returns>
Task<List<WeChatTransactionComponentDeliveryCompany>> GetCaChe();
/// <summary>
/// 更新cache
/// </summary>
Task<List<WeChatTransactionComponentDeliveryCompany>> UpdateCaChe();
#endregion
#region
@@ -50,10 +45,10 @@ namespace CoreCms.Net.IServices
/// <param name="orderByExpression"></param>
/// <param name="blUseNoLock">是否使用WITH(NOLOCK)</param>
/// <returns></returns>
new Task<IPageList<WeChatTransactionComponentDeliveryCompany>> QueryPageAsync(
Expression<Func<WeChatTransactionComponentDeliveryCompany, bool>> predicate,
Expression<Func<WeChatTransactionComponentDeliveryCompany, object>> orderByExpression, OrderByType orderByType, int pageIndex = 1,
int pageSize = 20, bool blUseNoLock = false);
Task<IPageList<WeChatTransactionComponentDeliveryCompany>> QueryPageAsync(
Expression<Func<WeChatTransactionComponentDeliveryCompany, bool>> predicate,
Expression<Func<WeChatTransactionComponentDeliveryCompany, object>> orderByExpression, OrderByType orderByType, int pageIndex = 1,
int pageSize = 20, bool blUseNoLock = false);
#endregion
}
}

View File

@@ -24,61 +24,13 @@ namespace CoreCms.Net.IServices
/// </summary>
public interface IWeChatTransactionComponentGoodSKUServices : IBaseServices<WeChatTransactionComponentGoodSKU>
{
#region ===========================================================
/// <summary>
/// 重写异步插入方法
/// </summary>
/// <param name="entity"></param>
/// <returns></returns>
new Task<AdminUiCallBack> InsertAsync(WeChatTransactionComponentGoodSKU entity);
/// <summary>
/// 重写异步更新方法
/// </summary>
/// <param name="entity"></param>
/// <returns></returns>
new Task<AdminUiCallBack> UpdateAsync(WeChatTransactionComponentGoodSKU entity);
/// <summary>
/// 重写异步更新方法
/// </summary>
/// <param name="entity"></param>
/// <returns></returns>
new Task<AdminUiCallBack> UpdateAsync(List<WeChatTransactionComponentGoodSKU> entity);
/// <summary>
/// 重写删除指定ID的数据
/// </summary>
/// <param name="id"></param>
/// <returns></returns>
new Task<AdminUiCallBack> DeleteByIdAsync(object id);
/// <summary>
/// 重写删除指定ID集合的数据(批量删除)
/// </summary>
/// <param name="ids"></param>
/// <returns></returns>
new Task<AdminUiCallBack> DeleteByIdsAsync(int[] ids);
#endregion
Task<AdminUiCallBack> UpdateAsync(List<WeChatTransactionComponentGoodSKU> entity);
#region
/// <summary>
/// 重写根据条件查询分页数据
/// </summary>
/// <param name="predicate">判断集合</param>
/// <param name="orderByType">排序方式</param>
/// <param name="pageIndex">当前页面索引</param>
/// <param name="pageSize">分布大小</param>
/// <param name="orderByExpression"></param>
/// <param name="blUseNoLock">是否使用WITH(NOLOCK)</param>
/// <returns></returns>
new Task<IPageList<WeChatTransactionComponentGoodSKU>> QueryPageAsync(
Expression<Func<WeChatTransactionComponentGoodSKU, bool>> predicate,
Expression<Func<WeChatTransactionComponentGoodSKU, object>> orderByExpression, OrderByType orderByType, int pageIndex = 1,
int pageSize = 20, bool blUseNoLock = false);
#endregion
}
}

View File

@@ -31,35 +31,21 @@ namespace CoreCms.Net.IServices
/// </summary>
/// <param name="entity"></param>
/// <returns></returns>
new Task<AdminUiCallBack> InsertAsync(WeChatTransactionComponentGood entity);
Task<AdminUiCallBack> InsertAsync(WeChatTransactionComponentGood entity);
/// <summary>
/// 重写异步更新方法
/// </summary>
/// <param name="entity"></param>
/// <returns></returns>
new Task<AdminUiCallBack> UpdateAsync(WeChatTransactionComponentGood entity);
/// <summary>
/// 重写异步更新方法
/// </summary>
/// <param name="entity"></param>
/// <returns></returns>
new Task<AdminUiCallBack> UpdateAsync(List<WeChatTransactionComponentGood> entity);
Task<AdminUiCallBack> UpdateAsync(WeChatTransactionComponentGood entity);
/// <summary>
/// 重写删除指定ID的数据
/// </summary>
/// <param name="id"></param>
/// <returns></returns>
new Task<AdminUiCallBack> DeleteByIdAsync(object id);
/// <summary>
/// 重写删除指定ID集合的数据(批量删除)
/// </summary>
/// <param name="ids"></param>
/// <returns></returns>
new Task<AdminUiCallBack> DeleteByIdsAsync(int[] ids);
Task<AdminUiCallBack> DeleteByIdAsync(object id);
#endregion
@@ -74,10 +60,10 @@ namespace CoreCms.Net.IServices
/// <param name="orderByExpression"></param>
/// <param name="blUseNoLock">是否使用WITH(NOLOCK)</param>
/// <returns></returns>
new Task<IPageList<WeChatTransactionComponentGood>> QueryPageAsync(
Expression<Func<WeChatTransactionComponentGood, bool>> predicate,
Expression<Func<WeChatTransactionComponentGood, object>> orderByExpression, OrderByType orderByType, int pageIndex = 1,
int pageSize = 20, bool blUseNoLock = false);
Task<IPageList<WeChatTransactionComponentGood>> QueryPageAsync(
Expression<Func<WeChatTransactionComponentGood, bool>> predicate,
Expression<Func<WeChatTransactionComponentGood, object>> orderByExpression, OrderByType orderByType, int pageIndex = 1,
int pageSize = 20, bool blUseNoLock = false);
#endregion
}
}

View File

@@ -19,66 +19,11 @@ using SqlSugar;
namespace CoreCms.Net.IServices
{
/// <summary>
/// <summary>
/// 自定义交易组件三级类目 服务工厂接口
/// </summary>
public interface IWeChatTransactionComponentThirdCategoryServices : IBaseServices<WeChatTransactionComponentThirdCategory>
{
#region ===========================================================
/// <summary>
/// 重写异步插入方法
/// </summary>
/// <param name="entity"></param>
/// <returns></returns>
new Task<AdminUiCallBack> InsertAsync(WeChatTransactionComponentThirdCategory entity);
/// <summary>
/// 重写异步更新方法
/// </summary>
/// <param name="entity"></param>
/// <returns></returns>
new Task<AdminUiCallBack> UpdateAsync(WeChatTransactionComponentThirdCategory entity);
/// <summary>
/// 重写异步更新方法
/// </summary>
/// <param name="entity"></param>
/// <returns></returns>
new Task<AdminUiCallBack> UpdateAsync(List<WeChatTransactionComponentThirdCategory> entity);
/// <summary>
/// 重写删除指定ID的数据
/// </summary>
/// <param name="id"></param>
/// <returns></returns>
new Task<AdminUiCallBack> DeleteByIdAsync(object id);
/// <summary>
/// 重写删除指定ID集合的数据(批量删除)
/// </summary>
/// <param name="ids"></param>
/// <returns></returns>
new Task<AdminUiCallBack> DeleteByIdsAsync(int[] ids);
#endregion
#region ==========================================================
/// <summary>
/// 获取缓存的所有数据
/// </summary>
/// <returns></returns>
Task<List<WeChatTransactionComponentThirdCategory>> GetCaChe();
/// <summary>
/// 更新cache
/// </summary>
Task<List<WeChatTransactionComponentThirdCategory>> UpdateCaChe();
#endregion
#region
/// <summary>
/// 重写根据条件查询分页数据
@@ -90,10 +35,10 @@ namespace CoreCms.Net.IServices
/// <param name="orderByExpression"></param>
/// <param name="blUseNoLock">是否使用WITH(NOLOCK)</param>
/// <returns></returns>
new Task<IPageList<WeChatTransactionComponentThirdCategory>> QueryPageAsync(
Expression<Func<WeChatTransactionComponentThirdCategory, bool>> predicate,
Expression<Func<WeChatTransactionComponentThirdCategory, object>> orderByExpression, OrderByType orderByType, int pageIndex = 1,
int pageSize = 20, bool blUseNoLock = false);
Task<IPageList<WeChatTransactionComponentThirdCategory>> QueryPageAsync(
Expression<Func<WeChatTransactionComponentThirdCategory, bool>> predicate,
Expression<Func<WeChatTransactionComponentThirdCategory, object>> orderByExpression, OrderByType orderByType, int pageIndex = 1,
int pageSize = 20, bool blUseNoLock = false);
#endregion
}
}

View File

@@ -39,8 +39,6 @@ namespace CoreCms.Net.IServices
/// <returns></returns>
Task<AdminUiCallBack> UpdateAsync(FMForm entity);
#region
/// <summary>
/// 重写根据条件查询分页数据
/// </summary>
@@ -51,13 +49,11 @@ namespace CoreCms.Net.IServices
/// <param name="orderByExpression"></param>
/// <param name="blUseNoLock">是否使用WITH(NOLOCK)</param>
/// <returns></returns>
new Task<IPageList<CoreCmsForm>> QueryPageAsync(
Task<IPageList<CoreCmsForm>> QueryPageAsync(
Expression<Func<CoreCmsForm, bool>> predicate,
Expression<Func<CoreCmsForm, object>> orderByExpression, OrderByType orderByType, int pageIndex = 1,
int pageSize = 20, bool blUseNoLock = false);
#endregion
/// <summary>
/// 获取form表单详情
@@ -71,28 +67,10 @@ namespace CoreCms.Net.IServices
/// <summary>
/// 提交表单
/// </summary>
/// <param name="id"></param>
/// <param name="token"></param>
/// <param name="entity"></param>
/// <returns></returns>
Task<WebApiCallBack> AddSubmit(FmAddSubmit entity);
#region ===========================================================
/// <summary>
/// 重写异步插入方法
/// </summary>
/// <param name="entity"></param>
/// <returns></returns>
new Task<AdminUiCallBack> InsertAsync(CoreCmsForm entity);
/// <summary>
/// 重写异步更新方法
/// </summary>
/// <param name="entity"></param>
/// <returns></returns>
new Task<AdminUiCallBack> UpdateAsync(List<CoreCmsForm> entity);
/// <summary>
/// 重写删除指定ID的数据
/// </summary>
@@ -100,29 +78,5 @@ namespace CoreCms.Net.IServices
/// <returns></returns>
Task<AdminUiCallBack> DeleteByIdAsync(int id);
/// <summary>
/// 重写删除指定ID集合的数据(批量删除)
/// </summary>
/// <param name="ids"></param>
/// <returns></returns>
new Task<AdminUiCallBack> DeleteByIdsAsync(int[] ids);
#endregion
#region ==========================================================
/// <summary>
/// 获取缓存的所有数据
/// </summary>
/// <returns></returns>
Task<List<CoreCmsForm>> GetCaChe();
/// <summary>
/// 更新cache
/// </summary>
Task<List<CoreCmsForm>> UpdateCaChe();
#endregion
}
}

View File

@@ -14,8 +14,8 @@ 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 CoreCms.Net.Model.ViewModels.DTO;
using CoreCms.Net.Model.ViewModels.UI;
using SqlSugar;
namespace CoreCms.Net.IServices
@@ -37,10 +37,10 @@ namespace CoreCms.Net.IServices
/// <param name="orderByExpression"></param>
/// <param name="blUseNoLock">是否使用WITH(NOLOCK)</param>
/// <returns></returns>
new Task<IPageList<CoreCmsFormSubmit>> QueryPageAsync(
Expression<Func<CoreCmsFormSubmit, bool>> predicate,
Expression<Func<CoreCmsFormSubmit, object>> orderByExpression, OrderByType orderByType, int pageIndex = 1,
int pageSize = 20, bool blUseNoLock = false);
Task<IPageList<CoreCmsFormSubmit>> QueryPageAsync(
Expression<Func<CoreCmsFormSubmit, bool>> predicate,
Expression<Func<CoreCmsFormSubmit, object>> orderByExpression, OrderByType orderByType, int pageIndex = 1,
int pageSize = 20, bool blUseNoLock = false);
#endregion
@@ -52,14 +52,13 @@ namespace CoreCms.Net.IServices
/// <returns></returns>
Task<WebApiCallBack> Pay(int id);
/// <summary>
/// 获取表单的统计数据
/// </summary>
/// <param name="formId">表单序列</param>
/// <param name="day">多少天内的数据</param>
/// <returns></returns>
Task<FormStatisticsViewDto> GetStatisticsByFormid(int formId, int day);
Task<FormStatisticsViewDto> GetStatisticsByFormId(int formId, int day);
#region ===========================================================
@@ -70,42 +69,12 @@ namespace CoreCms.Net.IServices
/// <returns></returns>
Task<int> InsertReturnIdentityAsync(CoreCmsFormSubmit entity);
/// <summary>
/// 重写异步插入方法
/// </summary>
/// <param name="entity"></param>
/// <returns></returns>
new Task<AdminUiCallBack> InsertAsync(CoreCmsFormSubmit entity);
/// <summary>
/// 重写异步更新方法
/// </summary>
/// <param name="entity"></param>
/// <returns></returns>
new Task<AdminUiCallBack> UpdateAsync(CoreCmsFormSubmit entity);
/// <summary>
/// 重写异步更新方法
/// </summary>
/// <param name="entity"></param>
/// <returns></returns>
new Task<AdminUiCallBack> UpdateAsync(List<CoreCmsFormSubmit> entity);
/// <summary>
/// 重写删除指定ID的数据
/// </summary>
/// <param name="id"></param>
/// <returns></returns>
new Task<AdminUiCallBack> DeleteByIdAsync(object id);
/// <summary>
/// 重写删除指定ID集合的数据(批量删除)
/// </summary>
/// <param name="ids"></param>
/// <returns></returns>
new Task<AdminUiCallBack> DeleteByIdsAsync(int[] ids);
Task<AdminUiCallBack> DeleteByIdAsync(object id);
#endregion
}
}