添加项目文件。

This commit is contained in:
JianWeie
2021-12-20 21:27:32 +08:00
parent 747486f5cb
commit 82d825b7a5
3514 changed files with 887941 additions and 0 deletions

View File

@@ -0,0 +1,21 @@
/***********************************************************************
* Project: CoreCms
* ProjectName: 核心内容管理系统
* Web: https://www.corecms.net
* Author: 大灰灰
* Email: jianweie@163.com
* CreateTime: 2021/1/31 21:45:10
* Description: 暂无
***********************************************************************/
using CoreCms.Net.Model.Entities;
namespace CoreCms.Net.IServices
{
/// <summary>
/// 发票信息记录 服务工厂接口
/// </summary>
public interface ICoreCmsInvoiceRecordServices : IBaseServices<CoreCmsInvoiceRecord>
{
}
}

View File

@@ -0,0 +1,53 @@
/***********************************************************************
* 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.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
{
/// <summary>
/// 发票表 服务工厂接口
/// </summary>
public interface ICoreCmsInvoiceServices : IBaseServices<CoreCmsInvoice>
{
/// <summary>
/// 获取订单的发票信息
/// </summary>
/// <param name="orderId">订单字符串编号</param>
/// <returns></returns>
Task<WebApiCallBack> GetOrderInvoiceInfo(string orderId);
#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<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

@@ -0,0 +1,21 @@
/***********************************************************************
* Project: CoreCms
* ProjectName: 核心内容管理系统
* Web: https://www.corecms.net
* Author: 大灰灰
* Email: jianweie@163.com
* CreateTime: 2021/1/31 21:45:10
* Description: 暂无
***********************************************************************/
using CoreCms.Net.Model.Entities;
namespace CoreCms.Net.IServices
{
/// <summary>
/// 支付方式表 服务工厂接口
/// </summary>
public interface ICoreCmsPaymentsServices : IBaseServices<CoreCmsPayments>
{
}
}

View File

@@ -0,0 +1,100 @@
/***********************************************************************
* 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.Threading.Tasks;
using CoreCms.Net.Model.ViewModels.Basics;
using CoreCms.Net.Model.ViewModels.Echarts;
using CoreCms.Net.Model.ViewModels.UI;
namespace CoreCms.Net.IServices
{
/// <summary>
/// 报表 服务工厂接口
/// </summary>
public interface ICoreCmsReportsServices : IBaseServices<GetOrdersReportsDbSelectOut>
{
/// <summary>
/// 订单报表
/// </summary>
/// <param name="num">数量</param>
/// <param name="where">查询条件</param>
/// <param name="section">查询值</param>
/// <param name="sTime">开始时间</param>
/// <param name="joinVal">筛选字段createTime/paymentTime </param>
/// <returns></returns>
List<GetOrdersReportsDbSelectOut> GetOrderMark(int num, string where, int section, DateTime sTime,
string joinVal);
/// <summary>
/// 支付单报表
/// </summary>
/// <param name="num">数量</param>
/// <param name="where">查询条件</param>
/// <param name="section">查询值</param>
/// <param name="sTime">开始时间</param>
/// <param name="joinVal">筛选字段createTime/paymentTime </param>
/// <returns></returns>
List<GetOrdersReportsDbSelectOut> GetPaymentsMark(int num, string where, int section, DateTime sTime,
string joinVal);
/// <summary>
/// 退款单报表
/// </summary>
/// <param name="num">数量</param>
/// <param name="where">查询条件</param>
/// <param name="section">查询值</param>
/// <param name="sTime">开始时间</param>
/// <param name="joinVal">筛选字段createTime/paymentTime </param>
/// <returns></returns>
List<GetOrdersReportsDbSelectOut> GetRefundMark(int num, string where, int section, DateTime sTime,
string joinVal);
/// <summary>
/// 用户提现报表
/// </summary>
/// <param name="num">数量</param>
/// <param name="where">查询条件</param>
/// <param name="section">查询值</param>
/// <param name="sTime">开始时间</param>
/// <param name="joinVal">筛选字段createTime/paymentTime </param>
/// <returns></returns>
List<GetOrdersReportsDbSelectOut> GetTocashMark(int num, string where, int section, DateTime sTime,
string joinVal);
/// <summary>
/// 获取订单销量查询返回结果
/// </summary>
/// <param name="start"></param>
/// <param name="end"></param>
/// <param name="filter"></param>
/// <param name="filterSed"></param>
/// <param name="thesort"></param>
/// <param name="pageIndex"></param>
/// <param name="pageSize"></param>
/// <returns></returns>
Task<IPageList<GoodsSalesVolume>> GetGoodsSalesVolumes(string start, string end, string filter,
string filterSed,
string thesort, int pageIndex = 1, int pageSize = 5000);
/// <summary>
/// 获取商品收藏查询返回结果
/// </summary>
/// <param name="start"></param>
/// <param name="end"></param>
/// <param name="thesort"></param>
/// <param name="pageIndex"></param>
/// <param name="pageSize"></param>
/// <returns></returns>
Task<IPageList<GoodsCollection>> GetGoodsCollections(string start, string end, string thesort,
int pageIndex = 1, int pageSize = 5000);
}
}