lcl пре 3 недеља
родитељ
комит
01b366f636
63 измењених фајлова са 1685 додато и 1 уклоњено
  1. 4 1
      Extensions/AppServiceExtensions.cs
  2. 42 0
      Model/Vo/Admin/GetHdBindRecordListVo.cs
  3. 42 0
      Model/Vo/Admin/GetHdBindRecordQueryVo.cs
  4. 54 0
      Model/Vo/Admin/GetHdChangeRecordListVo.cs
  5. 54 0
      Model/Vo/Admin/GetHdChangeRecordQueryVo.cs
  6. 126 0
      Model/Vo/Admin/GetHdTradeRecordListVo.cs
  7. 126 0
      Model/Vo/Admin/GetHdTradeRecordQueryVo.cs
  8. 42 0
      Model/Vo/Admin/GetHdUnBindRecordListVo.cs
  9. 42 0
      Model/Vo/Admin/GetHdUnBindRecordQueryVo.cs
  10. 19 0
      Services/ActivateRecordService.cs
  11. 19 0
      Services/BindRecordService.cs
  12. 19 0
      Services/ChangeBindRecordService.cs
  13. 19 0
      Services/CustomerTableRecordService.cs
  14. 94 0
      Services/HdBindRecordService.cs
  15. 44 0
      Services/HdChangeRecordService.cs
  16. 108 0
      Services/HdTradeRecordService.cs
  17. 42 0
      Services/HdUnBindRecordService.cs
  18. 12 0
      Services/IService/IActivateRecordService.cs
  19. 12 0
      Services/IService/IBindRecordService.cs
  20. 12 0
      Services/IService/IChangeBindRecordService.cs
  21. 12 0
      Services/IService/ICustomerTableRecordService.cs
  22. 54 0
      Services/IService/IHdBindRecordService.cs
  23. 22 0
      Services/IService/IHdChangeRecordService.cs
  24. 54 0
      Services/IService/IHdTradeRecordService.cs
  25. 22 0
      Services/IService/IHdUnBindRecordService.cs
  26. 12 0
      Services/IService/IKqActivateCallBackService.cs
  27. 12 0
      Services/IService/IKqActivateService.cs
  28. 12 0
      Services/IService/IKqMerchantService.cs
  29. 12 0
      Services/IService/IKqTradeCallBackService.cs
  30. 12 0
      Services/IService/IKqTradeFluxService.cs
  31. 12 0
      Services/IService/IKqTradeService.cs
  32. 12 0
      Services/IService/IKssBindService.cs
  33. 12 0
      Services/IService/IKssFreeDepositService.cs
  34. 12 0
      Services/IService/IKssMerchantService.cs
  35. 12 0
      Services/IService/IKssReturnDepositService.cs
  36. 12 0
      Services/IService/IKssStageRwdService.cs
  37. 12 0
      Services/IService/IKssTradeFirstService.cs
  38. 12 0
      Services/IService/IMerchantRecordService.cs
  39. 12 0
      Services/IService/IMerchantStageRwdService.cs
  40. 12 0
      Services/IService/IMerchantsService.cs
  41. 12 0
      Services/IService/IProfitRecordService.cs
  42. 12 0
      Services/IService/ITradeFluxRecordService.cs
  43. 12 0
      Services/IService/ITradeRecordService.cs
  44. 12 0
      Services/IService/IUnBindRecordService.cs
  45. 19 0
      Services/KqActivateCallBackService.cs
  46. 19 0
      Services/KqActivateService.cs
  47. 19 0
      Services/KqMerchantService.cs
  48. 19 0
      Services/KqTradeCallBackService.cs
  49. 19 0
      Services/KqTradeFluxService.cs
  50. 19 0
      Services/KqTradeService.cs
  51. 19 0
      Services/KssBindService.cs
  52. 19 0
      Services/KssFreeDepositService.cs
  53. 19 0
      Services/KssMerchantService.cs
  54. 19 0
      Services/KssReturnDepositService.cs
  55. 19 0
      Services/KssStageRwdService.cs
  56. 19 0
      Services/KssTradeFirstService.cs
  57. 19 0
      Services/MerchantRecordService.cs
  58. 19 0
      Services/MerchantStageRwdService.cs
  59. 19 0
      Services/MerchantsService.cs
  60. 19 0
      Services/ProfitRecordService.cs
  61. 19 0
      Services/TradeFluxRecordService.cs
  62. 19 0
      Services/TradeRecordService.cs
  63. 19 0
      Services/UnBindRecordService.cs

+ 4 - 1
Extensions/AppServiceExtensions.cs

@@ -27,7 +27,10 @@ namespace Infrastructure
             // }
 
             //必须注册的service
-            // services.AddTransient<ISysOperLogService, SysOperLogService>();
+            services.AddTransient<IHdBindRecordService, HdBindRecordService>();
+            services.AddTransient<IHdTradeRecordService, HdTradeRecordService>();
+            services.AddTransient<IHdUnBindRecordService, HdUnBindRecordService>();
+            services.AddTransient<IHdChangeRecordService, HdChangeRecordService>();
         }
 
         private static void Register(IServiceCollection services, string item)

+ 42 - 0
Model/Vo/Admin/GetHdBindRecordListVo.cs

@@ -0,0 +1,42 @@
+using Newtonsoft.Json;
+
+namespace Vo.Admin
+{
+    /// <summary>
+    /// 列表
+    /// </summary>
+    public class GetHdBindRecordListVo
+    {
+        /// <summary>
+        /// ID
+        /// </summary>
+        public long id { get; set; }
+
+
+        /// <summary>
+        /// TUSN编码
+        /// </summary>
+        public string snNo { get; set; }
+
+
+        /// <summary>
+        /// 平台商户号
+        /// </summary>
+        public string mchtNo { get; set; }
+
+
+        /// <summary>
+        /// 设备类型
+        /// </summary>
+        public string deviceType { get; set; }
+
+
+        /// <summary>
+        /// 终端绑定时间
+        /// </summary>
+        public string bindTime { get; set; }
+
+
+
+    }
+}

+ 42 - 0
Model/Vo/Admin/GetHdBindRecordQueryVo.cs

@@ -0,0 +1,42 @@
+using Newtonsoft.Json;
+
+namespace Vo.Admin
+{
+    /// <summary>
+    /// 详情
+    /// </summary>
+    public class GetHdBindRecordQueryVo
+    {
+        /// <summary>
+        /// ID
+        /// </summary>
+        public long id { get; set; }
+
+
+        /// <summary>
+        /// TUSN编码
+        /// </summary>
+        public string snNo { get; set; }
+
+
+        /// <summary>
+        /// 平台商户号
+        /// </summary>
+        public string mchtNo { get; set; }
+
+
+        /// <summary>
+        /// 设备类型
+        /// </summary>
+        public string deviceType { get; set; }
+
+
+        /// <summary>
+        /// 终端绑定时间
+        /// </summary>
+        public string bindTime { get; set; }
+
+
+
+    }
+}

+ 54 - 0
Model/Vo/Admin/GetHdChangeRecordListVo.cs

@@ -0,0 +1,54 @@
+using Newtonsoft.Json;
+
+namespace Vo.Admin
+{
+    /// <summary>
+    /// 列表
+    /// </summary>
+    public class GetHdChangeRecordListVo
+    {
+        /// <summary>
+        /// ID
+        /// </summary>
+        public int id { get; set; }
+
+
+        /// <summary>
+        /// 平台商户号
+        /// </summary>
+        public string mchtNo { get; set; }
+
+
+        /// <summary>
+        /// 新的TUSN编码
+        /// </summary>
+        public string snNo { get; set; }
+
+
+        /// <summary>
+        /// 设备类型
+        /// </summary>
+        public string deviceType { get; set; }
+
+
+        /// <summary>
+        /// 新的TUSN编码
+        /// </summary>
+        public string newSnNo { get; set; }
+
+
+        /// <summary>
+        /// 旧的的TUSN编码
+        /// </summary>
+        public string oldSnNo { get; set; }
+
+
+        /// <summary>
+        /// 换绑时间
+        /// </summary>
+        public string oprTime { get; set; }
+
+
+
+    }
+}

+ 54 - 0
Model/Vo/Admin/GetHdChangeRecordQueryVo.cs

@@ -0,0 +1,54 @@
+using Newtonsoft.Json;
+
+namespace Vo.Admin
+{
+    /// <summary>
+    /// 详情
+    /// </summary>
+    public class GetHdChangeRecordQueryVo
+    {
+        /// <summary>
+        /// ID
+        /// </summary>
+        public int id { get; set; }
+
+
+        /// <summary>
+        /// 平台商户号
+        /// </summary>
+        public string mchtNo { get; set; }
+
+
+        /// <summary>
+        /// 新的TUSN编码
+        /// </summary>
+        public string snNo { get; set; }
+
+
+        /// <summary>
+        /// 设备类型
+        /// </summary>
+        public string deviceType { get; set; }
+
+
+        /// <summary>
+        /// 新的TUSN编码
+        /// </summary>
+        public string newSnNo { get; set; }
+
+
+        /// <summary>
+        /// 旧的的TUSN编码
+        /// </summary>
+        public string oldSnNo { get; set; }
+
+
+        /// <summary>
+        /// 换绑时间
+        /// </summary>
+        public string oprTime { get; set; }
+
+
+
+    }
+}

+ 126 - 0
Model/Vo/Admin/GetHdTradeRecordListVo.cs

@@ -0,0 +1,126 @@
+using Newtonsoft.Json;
+
+namespace Vo.Admin
+{
+    /// <summary>
+    /// 列表
+    /// </summary>
+    public class GetHdTradeRecordListVo
+    {
+        /// <summary>
+        /// ID
+        /// </summary>
+        public long id { get; set; }
+
+
+        /// <summary>
+        /// 机构编号
+        /// </summary>
+        public string agentId { get; set; }
+
+
+        /// <summary>
+        /// 商户号
+        /// </summary>
+        public string merchId { get; set; }
+
+
+        /// <summary>
+        /// 商户名称
+        /// </summary>
+        public string merchName { get; set; }
+
+
+        /// <summary>
+        /// 订单编号
+        /// </summary>
+        public string ordId { get; set; }
+
+
+        /// <summary>
+        /// 交易金额
+        /// </summary>
+        public string transAmt { get; set; }
+
+
+        /// <summary>
+        /// 手续费
+        /// </summary>
+        public string feeAmt { get; set; }
+
+
+        /// <summary>
+        /// 流量费
+        /// </summary>
+        public string simFee { get; set; }
+
+
+        /// <summary>
+        /// S0服务费
+        /// </summary>
+        public string s0Fee { get; set; }
+
+
+        /// <summary>
+        /// 费率
+        /// </summary>
+        public string feeRate { get; set; }
+
+
+        /// <summary>
+        /// 卡类型
+        /// </summary>
+        public string cardType { get; set; }
+
+
+        /// <summary>
+        /// 终端Sn编号
+        /// </summary>
+        public string devId { get; set; }
+
+
+        /// <summary>
+        /// 交易状态
+        /// </summary>
+        public string transStat { get; set; }
+
+
+        /// <summary>
+        /// 交易类型
+        /// </summary>
+        public string transType { get; set; }
+
+
+        /// <summary>
+        /// 支付方式
+        /// </summary>
+        public string paymentMethod { get; set; }
+
+
+        /// <summary>
+        /// 结算类型
+        /// </summary>
+        public string settleType { get; set; }
+
+
+        /// <summary>
+        /// 交易日期
+        /// </summary>
+        public string transDate { get; set; }
+
+
+        /// <summary>
+        /// 交易时间
+        /// </summary>
+        public string transTime { get; set; }
+
+
+        /// <summary>
+        /// 双免标识
+        /// </summary>
+        public string quickPassFlag { get; set; }
+
+
+
+    }
+}

+ 126 - 0
Model/Vo/Admin/GetHdTradeRecordQueryVo.cs

@@ -0,0 +1,126 @@
+using Newtonsoft.Json;
+
+namespace Vo.Admin
+{
+    /// <summary>
+    /// 详情
+    /// </summary>
+    public class GetHdTradeRecordQueryVo
+    {
+        /// <summary>
+        /// ID
+        /// </summary>
+        public long id { get; set; }
+
+
+        /// <summary>
+        /// 机构编号
+        /// </summary>
+        public string agentId { get; set; }
+
+
+        /// <summary>
+        /// 商户号
+        /// </summary>
+        public string merchId { get; set; }
+
+
+        /// <summary>
+        /// 商户名称
+        /// </summary>
+        public string merchName { get; set; }
+
+
+        /// <summary>
+        /// 订单编号
+        /// </summary>
+        public string ordId { get; set; }
+
+
+        /// <summary>
+        /// 交易金额
+        /// </summary>
+        public string transAmt { get; set; }
+
+
+        /// <summary>
+        /// 手续费
+        /// </summary>
+        public string feeAmt { get; set; }
+
+
+        /// <summary>
+        /// 流量费
+        /// </summary>
+        public string simFee { get; set; }
+
+
+        /// <summary>
+        /// S0服务费
+        /// </summary>
+        public string s0Fee { get; set; }
+
+
+        /// <summary>
+        /// 费率
+        /// </summary>
+        public string feeRate { get; set; }
+
+
+        /// <summary>
+        /// 卡类型
+        /// </summary>
+        public string cardType { get; set; }
+
+
+        /// <summary>
+        /// 终端Sn编号
+        /// </summary>
+        public string devId { get; set; }
+
+
+        /// <summary>
+        /// 交易状态
+        /// </summary>
+        public string transStat { get; set; }
+
+
+        /// <summary>
+        /// 交易类型
+        /// </summary>
+        public string transType { get; set; }
+
+
+        /// <summary>
+        /// 支付方式
+        /// </summary>
+        public string paymentMethod { get; set; }
+
+
+        /// <summary>
+        /// 结算类型
+        /// </summary>
+        public string settleType { get; set; }
+
+
+        /// <summary>
+        /// 交易日期
+        /// </summary>
+        public string transDate { get; set; }
+
+
+        /// <summary>
+        /// 交易时间
+        /// </summary>
+        public string transTime { get; set; }
+
+
+        /// <summary>
+        /// 双免标识
+        /// </summary>
+        public string quickPassFlag { get; set; }
+
+
+
+    }
+}

+ 42 - 0
Model/Vo/Admin/GetHdUnBindRecordListVo.cs

@@ -0,0 +1,42 @@
+using Newtonsoft.Json;
+
+namespace Vo.Admin
+{
+    /// <summary>
+    /// 列表
+    /// </summary>
+    public class GetHdUnBindRecordListVo
+    {
+        /// <summary>
+        /// ID
+        /// </summary>
+        public int id { get; set; }
+
+
+        /// <summary>
+        /// TUSN编码
+        /// </summary>
+        public string snNo { get; set; }
+
+
+        /// <summary>
+        /// 平台商户号
+        /// </summary>
+        public string mchtNo { get; set; }
+
+
+        /// <summary>
+        /// 解绑时间
+        /// </summary>
+        public string oprTime { get; set; }
+
+
+        /// <summary>
+        /// 设备类型
+        /// </summary>
+        public string deviceType { get; set; }
+
+
+
+    }
+}

+ 42 - 0
Model/Vo/Admin/GetHdUnBindRecordQueryVo.cs

@@ -0,0 +1,42 @@
+using Newtonsoft.Json;
+
+namespace Vo.Admin
+{
+    /// <summary>
+    /// 详情
+    /// </summary>
+    public class GetHdUnBindRecordQueryVo
+    {
+        /// <summary>
+        /// ID
+        /// </summary>
+        public int id { get; set; }
+
+
+        /// <summary>
+        /// TUSN编码
+        /// </summary>
+        public string snNo { get; set; }
+
+
+        /// <summary>
+        /// 平台商户号
+        /// </summary>
+        public string mchtNo { get; set; }
+
+
+        /// <summary>
+        /// 解绑时间
+        /// </summary>
+        public string oprTime { get; set; }
+
+
+        /// <summary>
+        /// 设备类型
+        /// </summary>
+        public string deviceType { get; set; }
+
+
+
+    }
+}

+ 19 - 0
Services/ActivateRecordService.cs

@@ -0,0 +1,19 @@
+using Attribute;
+using Model;
+using Model.Base;
+using Repository;
+using Service;
+using Microsoft.AspNetCore.Mvc;
+
+
+namespace Services
+{
+    /// <summary>
+    /// 激活记录Service业务层处理
+    /// </summary>
+    [AppService(ServiceType = typeof(IActivateRecordService), ServiceLifetime = LifeTime.Transient)]
+    public class ActivateRecordService : BaseService<ActivateRecord>, IActivateRecordService
+    {
+
+    }
+}

+ 19 - 0
Services/BindRecordService.cs

@@ -0,0 +1,19 @@
+using Attribute;
+using Model;
+using Model.Base;
+using Repository;
+using Service;
+using Microsoft.AspNetCore.Mvc;
+
+
+namespace Services
+{
+    /// <summary>
+    /// 绑定记录Service业务层处理
+    /// </summary>
+    [AppService(ServiceType = typeof(IBindRecordService), ServiceLifetime = LifeTime.Transient)]
+    public class BindRecordService : BaseService<BindRecord>, IBindRecordService
+    {
+
+    }
+}

+ 19 - 0
Services/ChangeBindRecordService.cs

@@ -0,0 +1,19 @@
+using Attribute;
+using Model;
+using Model.Base;
+using Repository;
+using Service;
+using Microsoft.AspNetCore.Mvc;
+
+
+namespace Services
+{
+    /// <summary>
+    /// 换绑记录Service业务层处理
+    /// </summary>
+    [AppService(ServiceType = typeof(IChangeBindRecordService), ServiceLifetime = LifeTime.Transient)]
+    public class ChangeBindRecordService : BaseService<ChangeBindRecord>, IChangeBindRecordService
+    {
+
+    }
+}

+ 19 - 0
Services/CustomerTableRecordService.cs

@@ -0,0 +1,19 @@
+using Attribute;
+using Model;
+using Model.Base;
+using Repository;
+using Service;
+using Microsoft.AspNetCore.Mvc;
+
+
+namespace Services
+{
+    /// <summary>
+    /// 自建表创建记录Service业务层处理
+    /// </summary>
+    [AppService(ServiceType = typeof(ICustomerTableRecordService), ServiceLifetime = LifeTime.Transient)]
+    public class CustomerTableRecordService : BaseService<CustomerTableRecord>, ICustomerTableRecordService
+    {
+
+    }
+}

+ 94 - 0
Services/HdBindRecordService.cs

@@ -0,0 +1,94 @@
+using Attribute;
+using Model;
+using Model.Base;
+using Repository;
+using Service;
+using Microsoft.AspNetCore.Mvc;
+using Vo.Admin;
+
+
+namespace Services
+{
+    /// <summary>
+    /// 好哒终端商户绑定记录Service业务层处理
+    /// </summary>
+    [AppService(ServiceType = typeof(IHdBindRecordService), ServiceLifetime = LifeTime.Transient)]
+    public class HdBindRecordService : BaseService<HdBindRecord>, IHdBindRecordService
+    {
+        /// <summary>
+        /// 好哒终端商户绑定记录-列表
+        /// </summary>
+        /// <param name="param">参数请求体</param>
+        /// <param name="page">分页参数</param>
+        /// <returns>列表</returns>
+        public PagedInfo<GetHdBindRecordListVo> getHdBindRecordList([FromQuery] PagerInfo page, [FromQuery] HdBindRecord param)
+        {
+            //拼装查询条件
+            var predicate = Expressionable.Create<HdBindRecord>();
+            predicate = predicate.AndIF(!string.IsNullOrEmpty(param.snNo), m => m.snNo.Contains(param.snNo));
+            predicate = predicate.AndIF(!string.IsNullOrEmpty(param.mchtNo), m => m.mchtNo.Contains(param.mchtNo));
+            predicate = predicate.AndIF(!string.IsNullOrEmpty(param.deviceType), m => m.deviceType.Contains(param.deviceType));
+            predicate = predicate.AndIF(!string.IsNullOrEmpty(param.bindTime), m => m.bindTime.Contains(param.bindTime));
+            var response = Queryable()
+                .Where(predicate.ToExpression())
+                .SplitTable(DateTime.Now.AddMonths(-3), DateTime.Now)
+                .OrderByDescending(m => m.id)
+                .ToPage<HdBindRecord, GetHdBindRecordListVo>(page);
+            return response;
+        }
+
+
+        /// <summary>
+        /// 好哒终端商户绑定记录-详情
+        /// </summary>
+        /// <param name="id">ID</param>
+        /// <returns>详情</returns>
+        public HdBindRecord getHdBindRecordQuery(int id)
+        {
+            //拼装查询条件
+            var predicate = Expressionable.Create<HdBindRecord>();
+            predicate = predicate.AndIF(id > 0, m => m.id == id);
+            var response = Queryable()
+                .Where(predicate.ToExpression())
+                .SplitTable(DateTime.Now.AddMonths(-3), DateTime.Now)
+                .First();
+            return response;
+        }
+
+
+        /// <summary>
+        /// 好哒终端商户绑定记录-添加
+        /// </summary>
+        /// <param name="param">参数请求体</param>
+        /// <returns>添加</returns>
+        public long addHdBindRecord([FromBody] HdBindRecord param)
+        {
+            return Insertable(param).SplitTable().ExecuteReturnSnowflakeId();
+        }
+
+
+        /// <summary>
+        /// 好哒终端商户绑定记录-修改
+        /// </summary>
+        /// <param name="param">参数请求体</param>
+        /// <returns>修改</returns>
+        public long updateHdBindRecord([FromBody] HdBindRecord param)
+        {
+            return Context.Updateable(param).SplitTable().ExecuteCommand();
+        }
+
+
+        /// <summary>
+        /// 好哒终端商户绑定记录-删除
+        /// </summary>
+        /// <param name="id">ID</param>
+        /// <returns>删除</returns>
+        public long deleteHdBindRecord(int id)
+        {
+            return Context.Deleteable<HdBindRecord>(id).SplitTable().ExecuteCommand();
+        }
+
+
+
+    }
+}

+ 44 - 0
Services/HdChangeRecordService.cs

@@ -0,0 +1,44 @@
+using Attribute;
+using Model;
+using Model.Base;
+using Repository;
+using Service;
+using Microsoft.AspNetCore.Mvc;
+using Vo.Admin;
+
+
+namespace Services
+{
+    /// <summary>
+    /// 好哒终端替换记录Service业务层处理
+    /// </summary>
+    [AppService(ServiceType = typeof(IHdChangeRecordService), ServiceLifetime = LifeTime.Transient)]
+    public class HdChangeRecordService : BaseService<HdChangeRecord>, IHdChangeRecordService
+    {
+        /// <summary>
+        /// 好哒终端替换记录-列表
+        /// </summary>
+        /// <param name="param">参数请求体</param>
+        /// <param name="page">分页参数</param>
+        /// <returns>列表</returns>
+        public PagedInfo<GetHdChangeRecordListVo> getHdChangeRecordList([FromQuery] PagerInfo page, [FromQuery] HdChangeRecord param)
+        {
+            //拼装查询条件
+            var predicate = Expressionable.Create<HdChangeRecord>();
+            predicate = predicate.AndIF(!string.IsNullOrEmpty(param.mchtNo), m => m.mchtNo.Contains(param.mchtNo));
+            predicate = predicate.AndIF(!string.IsNullOrEmpty(param.snNo), m => m.snNo.Contains(param.snNo));
+            predicate = predicate.AndIF(!string.IsNullOrEmpty(param.deviceType), m => m.deviceType.Contains(param.deviceType));
+            predicate = predicate.AndIF(!string.IsNullOrEmpty(param.newSnNo), m => m.newSnNo.Contains(param.newSnNo));
+            predicate = predicate.AndIF(!string.IsNullOrEmpty(param.oldSnNo), m => m.oldSnNo.Contains(param.oldSnNo));
+            predicate = predicate.AndIF(!string.IsNullOrEmpty(param.oprTime), m => m.oprTime.Contains(param.oprTime));
+            var response = Queryable()
+                .Where(predicate.ToExpression())
+                .OrderByDescending(m => m.id)
+                .ToPage<HdChangeRecord, GetHdChangeRecordListVo>(page);
+            return response;
+        }
+
+
+
+    }
+}

+ 108 - 0
Services/HdTradeRecordService.cs

@@ -0,0 +1,108 @@
+using Attribute;
+using Model;
+using Model.Base;
+using Repository;
+using Service;
+using Microsoft.AspNetCore.Mvc;
+using Vo.Admin;
+
+
+namespace Services
+{
+    /// <summary>
+    /// 好哒交易记录Service业务层处理
+    /// </summary>
+    [AppService(ServiceType = typeof(IHdTradeRecordService), ServiceLifetime = LifeTime.Transient)]
+    public class HdTradeRecordService : BaseService<HdTradeRecord>, IHdTradeRecordService
+    {
+        /// <summary>
+        /// 好哒交易记录-列表
+        /// </summary>
+        /// <param name="param">参数请求体</param>
+        /// <param name="page">分页参数</param>
+        /// <returns>列表</returns>
+        public PagedInfo<GetHdTradeRecordListVo> getHdTradeRecordList([FromQuery] PagerInfo page, [FromQuery] HdTradeRecord param)
+        {
+            //拼装查询条件
+            var predicate = Expressionable.Create<HdTradeRecord>();
+            predicate = predicate.AndIF(!string.IsNullOrEmpty(param.agentId), m => m.agentId.Contains(param.agentId));
+            predicate = predicate.AndIF(!string.IsNullOrEmpty(param.merchId), m => m.merchId.Contains(param.merchId));
+            predicate = predicate.AndIF(!string.IsNullOrEmpty(param.merchName), m => m.merchName.Contains(param.merchName));
+            predicate = predicate.AndIF(!string.IsNullOrEmpty(param.ordId), m => m.ordId.Contains(param.ordId));
+            predicate = predicate.AndIF(!string.IsNullOrEmpty(param.transAmt), m => m.transAmt.Contains(param.transAmt));
+            predicate = predicate.AndIF(!string.IsNullOrEmpty(param.feeAmt), m => m.feeAmt.Contains(param.feeAmt));
+            predicate = predicate.AndIF(!string.IsNullOrEmpty(param.simFee), m => m.simFee.Contains(param.simFee));
+            predicate = predicate.AndIF(!string.IsNullOrEmpty(param.s0Fee), m => m.s0Fee.Contains(param.s0Fee));
+            predicate = predicate.AndIF(!string.IsNullOrEmpty(param.feeRate), m => m.feeRate.Contains(param.feeRate));
+            predicate = predicate.AndIF(!string.IsNullOrEmpty(param.cardType), m => m.cardType.Contains(param.cardType));
+            predicate = predicate.AndIF(!string.IsNullOrEmpty(param.devId), m => m.devId.Contains(param.devId));
+            predicate = predicate.AndIF(!string.IsNullOrEmpty(param.transStat), m => m.transStat.Contains(param.transStat));
+            predicate = predicate.AndIF(!string.IsNullOrEmpty(param.transType), m => m.transType.Contains(param.transType));
+            predicate = predicate.AndIF(!string.IsNullOrEmpty(param.paymentMethod), m => m.paymentMethod.Contains(param.paymentMethod));
+            predicate = predicate.AndIF(!string.IsNullOrEmpty(param.settleType), m => m.settleType.Contains(param.settleType));
+            predicate = predicate.AndIF(!string.IsNullOrEmpty(param.transDate), m => m.transDate.Contains(param.transDate));
+            predicate = predicate.AndIF(!string.IsNullOrEmpty(param.transTime), m => m.transTime.Contains(param.transTime));
+            predicate = predicate.AndIF(!string.IsNullOrEmpty(param.quickPassFlag), m => m.quickPassFlag.Contains(param.quickPassFlag));
+            var response = Queryable()
+                .Where(predicate.ToExpression())
+                .SplitTable(DateTime.Now.AddMonths(-3), DateTime.Now)
+                .OrderByDescending(m => m.id)
+                .ToPage<HdTradeRecord, GetHdTradeRecordListVo>(page);
+            return response;
+        }
+
+
+        /// <summary>
+        /// 好哒交易记录-详情
+        /// </summary>
+        /// <param name="id">ID</param>
+        /// <returns>详情</returns>
+        public HdTradeRecord getHdTradeRecordQuery(int id)
+        {
+            //拼装查询条件
+            var predicate = Expressionable.Create<HdTradeRecord>();
+            predicate = predicate.AndIF(id > 0, m => m.id == id);
+            var response = Queryable()
+                .Where(predicate.ToExpression())
+                .SplitTable(DateTime.Now.AddMonths(-3), DateTime.Now)
+                .First();
+            return response;
+        }
+
+
+        /// <summary>
+        /// 好哒交易记录-添加
+        /// </summary>
+        /// <param name="param">参数请求体</param>
+        /// <returns>添加</returns>
+        public long addHdTradeRecord([FromBody] HdTradeRecord param)
+        {
+            return Insertable(param).SplitTable().ExecuteReturnSnowflakeId();
+        }
+
+
+        /// <summary>
+        /// 好哒交易记录-修改
+        /// </summary>
+        /// <param name="param">参数请求体</param>
+        /// <returns>修改</returns>
+        public long updateHdTradeRecord([FromBody] HdTradeRecord param)
+        {
+            return Context.Updateable(param).SplitTable().ExecuteCommand();
+        }
+
+
+        /// <summary>
+        /// 好哒交易记录-删除
+        /// </summary>
+        /// <param name="id">ID</param>
+        /// <returns>删除</returns>
+        public long deleteHdTradeRecord(int id)
+        {
+            return Context.Deleteable<HdTradeRecord>(id).SplitTable().ExecuteCommand();
+        }
+
+
+
+    }
+}

+ 42 - 0
Services/HdUnBindRecordService.cs

@@ -0,0 +1,42 @@
+using Attribute;
+using Model;
+using Model.Base;
+using Repository;
+using Service;
+using Microsoft.AspNetCore.Mvc;
+using Vo.Admin;
+
+
+namespace Services
+{
+    /// <summary>
+    /// 好哒终端解绑记录Service业务层处理
+    /// </summary>
+    [AppService(ServiceType = typeof(IHdUnBindRecordService), ServiceLifetime = LifeTime.Transient)]
+    public class HdUnBindRecordService : BaseService<HdUnBindRecord>, IHdUnBindRecordService
+    {
+        /// <summary>
+        /// 好哒终端解绑记录-列表
+        /// </summary>
+        /// <param name="param">参数请求体</param>
+        /// <param name="page">分页参数</param>
+        /// <returns>列表</returns>
+        public PagedInfo<GetHdUnBindRecordListVo> getHdUnBindRecordList([FromQuery] PagerInfo page, [FromQuery] HdUnBindRecord param)
+        {
+            //拼装查询条件
+            var predicate = Expressionable.Create<HdUnBindRecord>();
+            predicate = predicate.AndIF(!string.IsNullOrEmpty(param.snNo), m => m.snNo.Contains(param.snNo));
+            predicate = predicate.AndIF(!string.IsNullOrEmpty(param.mchtNo), m => m.mchtNo.Contains(param.mchtNo));
+            predicate = predicate.AndIF(!string.IsNullOrEmpty(param.oprTime), m => m.oprTime.Contains(param.oprTime));
+            predicate = predicate.AndIF(!string.IsNullOrEmpty(param.deviceType), m => m.deviceType.Contains(param.deviceType));
+            var response = Queryable()
+                .Where(predicate.ToExpression())
+                .OrderByDescending(m => m.id)
+                .ToPage<HdUnBindRecord, GetHdUnBindRecordListVo>(page);
+            return response;
+        }
+
+
+
+    }
+}

+ 12 - 0
Services/IService/IActivateRecordService.cs

@@ -0,0 +1,12 @@
+using Model;
+using Model.Base;
+using Microsoft.AspNetCore.Mvc;
+
+
+namespace Services
+{
+    public interface IActivateRecordService : IBaseService<ActivateRecord>
+    {
+
+    }
+}

+ 12 - 0
Services/IService/IBindRecordService.cs

@@ -0,0 +1,12 @@
+using Model;
+using Model.Base;
+using Microsoft.AspNetCore.Mvc;
+
+
+namespace Services
+{
+    public interface IBindRecordService : IBaseService<BindRecord>
+    {
+
+    }
+}

+ 12 - 0
Services/IService/IChangeBindRecordService.cs

@@ -0,0 +1,12 @@
+using Model;
+using Model.Base;
+using Microsoft.AspNetCore.Mvc;
+
+
+namespace Services
+{
+    public interface IChangeBindRecordService : IBaseService<ChangeBindRecord>
+    {
+
+    }
+}

+ 12 - 0
Services/IService/ICustomerTableRecordService.cs

@@ -0,0 +1,12 @@
+using Model;
+using Model.Base;
+using Microsoft.AspNetCore.Mvc;
+
+
+namespace Services
+{
+    public interface ICustomerTableRecordService : IBaseService<CustomerTableRecord>
+    {
+
+    }
+}

+ 54 - 0
Services/IService/IHdBindRecordService.cs

@@ -0,0 +1,54 @@
+using Model;
+using Model.Base;
+using Microsoft.AspNetCore.Mvc;
+using Vo.Admin;
+
+
+namespace Services
+{
+    public interface IHdBindRecordService : IBaseService<HdBindRecord>
+    {
+        /// <summary>
+        /// 好哒终端商户绑定记录-列表
+        /// </summary>
+        /// <param name="param">参数请求体</param>
+        /// <param name="page">分页参数</param>
+        /// <returns>列表</returns>
+        PagedInfo<GetHdBindRecordListVo> getHdBindRecordList([FromQuery] PagerInfo page, [FromQuery] HdBindRecord param);
+
+
+        /// <summary>
+        /// 好哒终端商户绑定记录-详情
+        /// </summary>
+        /// <param name="id">ID</param>
+        /// <returns>详情</returns>
+        HdBindRecord getHdBindRecordQuery(int id);
+
+
+        /// <summary>
+        /// 好哒终端商户绑定记录-添加
+        /// </summary>
+        /// <param name="param">参数请求体</param>
+        /// <returns>添加</returns>
+        long addHdBindRecord([FromBody] HdBindRecord param);
+
+
+        /// <summary>
+        /// 好哒终端商户绑定记录-修改
+        /// </summary>
+        /// <param name="param">参数请求体</param>
+        /// <returns>修改</returns>
+        long updateHdBindRecord([FromBody] HdBindRecord param);
+
+
+        /// <summary>
+        /// 好哒终端商户绑定记录-删除
+        /// </summary>
+        /// <param name="id">ID</param>
+        /// <returns>删除</returns>
+        long deleteHdBindRecord(int id);
+
+
+
+    }
+}

+ 22 - 0
Services/IService/IHdChangeRecordService.cs

@@ -0,0 +1,22 @@
+using Model;
+using Model.Base;
+using Microsoft.AspNetCore.Mvc;
+using Vo.Admin;
+
+
+namespace Services
+{
+    public interface IHdChangeRecordService : IBaseService<HdChangeRecord>
+    {
+        /// <summary>
+        /// 好哒终端替换记录-列表
+        /// </summary>
+        /// <param name="param">参数请求体</param>
+        /// <param name="page">分页参数</param>
+        /// <returns>列表</returns>
+        PagedInfo<GetHdChangeRecordListVo> getHdChangeRecordList([FromQuery] PagerInfo page, [FromQuery] HdChangeRecord param);
+
+
+
+    }
+}

+ 54 - 0
Services/IService/IHdTradeRecordService.cs

@@ -0,0 +1,54 @@
+using Model;
+using Model.Base;
+using Microsoft.AspNetCore.Mvc;
+using Vo.Admin;
+
+
+namespace Services
+{
+    public interface IHdTradeRecordService : IBaseService<HdTradeRecord>
+    {
+        /// <summary>
+        /// 好哒交易记录-列表
+        /// </summary>
+        /// <param name="param">参数请求体</param>
+        /// <param name="page">分页参数</param>
+        /// <returns>列表</returns>
+        PagedInfo<GetHdTradeRecordListVo> getHdTradeRecordList([FromQuery] PagerInfo page, [FromQuery] HdTradeRecord param);
+
+
+        /// <summary>
+        /// 好哒交易记录-详情
+        /// </summary>
+        /// <param name="id">ID</param>
+        /// <returns>详情</returns>
+        HdTradeRecord getHdTradeRecordQuery(int id);
+
+
+        /// <summary>
+        /// 好哒交易记录-添加
+        /// </summary>
+        /// <param name="param">参数请求体</param>
+        /// <returns>添加</returns>
+        long addHdTradeRecord([FromBody] HdTradeRecord param);
+
+
+        /// <summary>
+        /// 好哒交易记录-修改
+        /// </summary>
+        /// <param name="param">参数请求体</param>
+        /// <returns>修改</returns>
+        long updateHdTradeRecord([FromBody] HdTradeRecord param);
+
+
+        /// <summary>
+        /// 好哒交易记录-删除
+        /// </summary>
+        /// <param name="id">ID</param>
+        /// <returns>删除</returns>
+        long deleteHdTradeRecord(int id);
+
+
+
+    }
+}

+ 22 - 0
Services/IService/IHdUnBindRecordService.cs

@@ -0,0 +1,22 @@
+using Model;
+using Model.Base;
+using Microsoft.AspNetCore.Mvc;
+using Vo.Admin;
+
+
+namespace Services
+{
+    public interface IHdUnBindRecordService : IBaseService<HdUnBindRecord>
+    {
+        /// <summary>
+        /// 好哒终端解绑记录-列表
+        /// </summary>
+        /// <param name="param">参数请求体</param>
+        /// <param name="page">分页参数</param>
+        /// <returns>列表</returns>
+        PagedInfo<GetHdUnBindRecordListVo> getHdUnBindRecordList([FromQuery] PagerInfo page, [FromQuery] HdUnBindRecord param);
+
+
+
+    }
+}

+ 12 - 0
Services/IService/IKqActivateCallBackService.cs

@@ -0,0 +1,12 @@
+using Model;
+using Model.Base;
+using Microsoft.AspNetCore.Mvc;
+
+
+namespace Services
+{
+    public interface IKqActivateCallBackService : IBaseService<KqActivateCallBack>
+    {
+
+    }
+}

+ 12 - 0
Services/IService/IKqActivateService.cs

@@ -0,0 +1,12 @@
+using Model;
+using Model.Base;
+using Microsoft.AspNetCore.Mvc;
+
+
+namespace Services
+{
+    public interface IKqActivateService : IBaseService<KqActivate>
+    {
+
+    }
+}

+ 12 - 0
Services/IService/IKqMerchantService.cs

@@ -0,0 +1,12 @@
+using Model;
+using Model.Base;
+using Microsoft.AspNetCore.Mvc;
+
+
+namespace Services
+{
+    public interface IKqMerchantService : IBaseService<KqMerchant>
+    {
+
+    }
+}

+ 12 - 0
Services/IService/IKqTradeCallBackService.cs

@@ -0,0 +1,12 @@
+using Model;
+using Model.Base;
+using Microsoft.AspNetCore.Mvc;
+
+
+namespace Services
+{
+    public interface IKqTradeCallBackService : IBaseService<KqTradeCallBack>
+    {
+
+    }
+}

+ 12 - 0
Services/IService/IKqTradeFluxService.cs

@@ -0,0 +1,12 @@
+using Model;
+using Model.Base;
+using Microsoft.AspNetCore.Mvc;
+
+
+namespace Services
+{
+    public interface IKqTradeFluxService : IBaseService<KqTradeFlux>
+    {
+
+    }
+}

+ 12 - 0
Services/IService/IKqTradeService.cs

@@ -0,0 +1,12 @@
+using Model;
+using Model.Base;
+using Microsoft.AspNetCore.Mvc;
+
+
+namespace Services
+{
+    public interface IKqTradeService : IBaseService<KqTrade>
+    {
+
+    }
+}

+ 12 - 0
Services/IService/IKssBindService.cs

@@ -0,0 +1,12 @@
+using Model;
+using Model.Base;
+using Microsoft.AspNetCore.Mvc;
+
+
+namespace Services
+{
+    public interface IKssBindService : IBaseService<KssBind>
+    {
+
+    }
+}

+ 12 - 0
Services/IService/IKssFreeDepositService.cs

@@ -0,0 +1,12 @@
+using Model;
+using Model.Base;
+using Microsoft.AspNetCore.Mvc;
+
+
+namespace Services
+{
+    public interface IKssFreeDepositService : IBaseService<KssFreeDeposit>
+    {
+
+    }
+}

+ 12 - 0
Services/IService/IKssMerchantService.cs

@@ -0,0 +1,12 @@
+using Model;
+using Model.Base;
+using Microsoft.AspNetCore.Mvc;
+
+
+namespace Services
+{
+    public interface IKssMerchantService : IBaseService<KssMerchant>
+    {
+
+    }
+}

+ 12 - 0
Services/IService/IKssReturnDepositService.cs

@@ -0,0 +1,12 @@
+using Model;
+using Model.Base;
+using Microsoft.AspNetCore.Mvc;
+
+
+namespace Services
+{
+    public interface IKssReturnDepositService : IBaseService<KssReturnDeposit>
+    {
+
+    }
+}

+ 12 - 0
Services/IService/IKssStageRwdService.cs

@@ -0,0 +1,12 @@
+using Model;
+using Model.Base;
+using Microsoft.AspNetCore.Mvc;
+
+
+namespace Services
+{
+    public interface IKssStageRwdService : IBaseService<KssStageRwd>
+    {
+
+    }
+}

+ 12 - 0
Services/IService/IKssTradeFirstService.cs

@@ -0,0 +1,12 @@
+using Model;
+using Model.Base;
+using Microsoft.AspNetCore.Mvc;
+
+
+namespace Services
+{
+    public interface IKssTradeFirstService : IBaseService<KssTradeFirst>
+    {
+
+    }
+}

+ 12 - 0
Services/IService/IMerchantRecordService.cs

@@ -0,0 +1,12 @@
+using Model;
+using Model.Base;
+using Microsoft.AspNetCore.Mvc;
+
+
+namespace Services
+{
+    public interface IMerchantRecordService : IBaseService<MerchantRecord>
+    {
+
+    }
+}

+ 12 - 0
Services/IService/IMerchantStageRwdService.cs

@@ -0,0 +1,12 @@
+using Model;
+using Model.Base;
+using Microsoft.AspNetCore.Mvc;
+
+
+namespace Services
+{
+    public interface IMerchantStageRwdService : IBaseService<MerchantStageRwd>
+    {
+
+    }
+}

+ 12 - 0
Services/IService/IMerchantsService.cs

@@ -0,0 +1,12 @@
+using Model;
+using Model.Base;
+using Microsoft.AspNetCore.Mvc;
+
+
+namespace Services
+{
+    public interface IMerchantsService : IBaseService<Merchants>
+    {
+
+    }
+}

+ 12 - 0
Services/IService/IProfitRecordService.cs

@@ -0,0 +1,12 @@
+using Model;
+using Model.Base;
+using Microsoft.AspNetCore.Mvc;
+
+
+namespace Services
+{
+    public interface IProfitRecordService : IBaseService<ProfitRecord>
+    {
+
+    }
+}

+ 12 - 0
Services/IService/ITradeFluxRecordService.cs

@@ -0,0 +1,12 @@
+using Model;
+using Model.Base;
+using Microsoft.AspNetCore.Mvc;
+
+
+namespace Services
+{
+    public interface ITradeFluxRecordService : IBaseService<TradeFluxRecord>
+    {
+
+    }
+}

+ 12 - 0
Services/IService/ITradeRecordService.cs

@@ -0,0 +1,12 @@
+using Model;
+using Model.Base;
+using Microsoft.AspNetCore.Mvc;
+
+
+namespace Services
+{
+    public interface ITradeRecordService : IBaseService<TradeRecord>
+    {
+
+    }
+}

+ 12 - 0
Services/IService/IUnBindRecordService.cs

@@ -0,0 +1,12 @@
+using Model;
+using Model.Base;
+using Microsoft.AspNetCore.Mvc;
+
+
+namespace Services
+{
+    public interface IUnBindRecordService : IBaseService<UnBindRecord>
+    {
+
+    }
+}

+ 19 - 0
Services/KqActivateCallBackService.cs

@@ -0,0 +1,19 @@
+using Attribute;
+using Model;
+using Model.Base;
+using Repository;
+using Service;
+using Microsoft.AspNetCore.Mvc;
+
+
+namespace Services
+{
+    /// <summary>
+    /// 快钱MPOS激活推送Service业务层处理
+    /// </summary>
+    [AppService(ServiceType = typeof(IKqActivateCallBackService), ServiceLifetime = LifeTime.Transient)]
+    public class KqActivateCallBackService : BaseService<KqActivateCallBack>, IKqActivateCallBackService
+    {
+
+    }
+}

+ 19 - 0
Services/KqActivateService.cs

@@ -0,0 +1,19 @@
+using Attribute;
+using Model;
+using Model.Base;
+using Repository;
+using Service;
+using Microsoft.AspNetCore.Mvc;
+
+
+namespace Services
+{
+    /// <summary>
+    /// 快钱MPOS激活抓取Service业务层处理
+    /// </summary>
+    [AppService(ServiceType = typeof(IKqActivateService), ServiceLifetime = LifeTime.Transient)]
+    public class KqActivateService : BaseService<KqActivate>, IKqActivateService
+    {
+
+    }
+}

+ 19 - 0
Services/KqMerchantService.cs

@@ -0,0 +1,19 @@
+using Attribute;
+using Model;
+using Model.Base;
+using Repository;
+using Service;
+using Microsoft.AspNetCore.Mvc;
+
+
+namespace Services
+{
+    /// <summary>
+    /// 快钱Mpos商户Service业务层处理
+    /// </summary>
+    [AppService(ServiceType = typeof(IKqMerchantService), ServiceLifetime = LifeTime.Transient)]
+    public class KqMerchantService : BaseService<KqMerchant>, IKqMerchantService
+    {
+
+    }
+}

+ 19 - 0
Services/KqTradeCallBackService.cs

@@ -0,0 +1,19 @@
+using Attribute;
+using Model;
+using Model.Base;
+using Repository;
+using Service;
+using Microsoft.AspNetCore.Mvc;
+
+
+namespace Services
+{
+    /// <summary>
+    /// 快钱Mpos交易推送Service业务层处理
+    /// </summary>
+    [AppService(ServiceType = typeof(IKqTradeCallBackService), ServiceLifetime = LifeTime.Transient)]
+    public class KqTradeCallBackService : BaseService<KqTradeCallBack>, IKqTradeCallBackService
+    {
+
+    }
+}

+ 19 - 0
Services/KqTradeFluxService.cs

@@ -0,0 +1,19 @@
+using Attribute;
+using Model;
+using Model.Base;
+using Repository;
+using Service;
+using Microsoft.AspNetCore.Mvc;
+
+
+namespace Services
+{
+    /// <summary>
+    /// 快钱流量卡分佣交易Service业务层处理
+    /// </summary>
+    [AppService(ServiceType = typeof(IKqTradeFluxService), ServiceLifetime = LifeTime.Transient)]
+    public class KqTradeFluxService : BaseService<KqTradeFlux>, IKqTradeFluxService
+    {
+
+    }
+}

+ 19 - 0
Services/KqTradeService.cs

@@ -0,0 +1,19 @@
+using Attribute;
+using Model;
+using Model.Base;
+using Repository;
+using Service;
+using Microsoft.AspNetCore.Mvc;
+
+
+namespace Services
+{
+    /// <summary>
+    /// 快钱Mpos交易抓取Service业务层处理
+    /// </summary>
+    [AppService(ServiceType = typeof(IKqTradeService), ServiceLifetime = LifeTime.Transient)]
+    public class KqTradeService : BaseService<KqTrade>, IKqTradeService
+    {
+
+    }
+}

+ 19 - 0
Services/KssBindService.cs

@@ -0,0 +1,19 @@
+using Attribute;
+using Model;
+using Model.Base;
+using Repository;
+using Service;
+using Microsoft.AspNetCore.Mvc;
+
+
+namespace Services
+{
+    /// <summary>
+    /// 快闪刷商户绑定Service业务层处理
+    /// </summary>
+    [AppService(ServiceType = typeof(IKssBindService), ServiceLifetime = LifeTime.Transient)]
+    public class KssBindService : BaseService<KssBind>, IKssBindService
+    {
+
+    }
+}

+ 19 - 0
Services/KssFreeDepositService.cs

@@ -0,0 +1,19 @@
+using Attribute;
+using Model;
+using Model.Base;
+using Repository;
+using Service;
+using Microsoft.AspNetCore.Mvc;
+
+
+namespace Services
+{
+    /// <summary>
+    /// 快闪刷商户免押金Service业务层处理
+    /// </summary>
+    [AppService(ServiceType = typeof(IKssFreeDepositService), ServiceLifetime = LifeTime.Transient)]
+    public class KssFreeDepositService : BaseService<KssFreeDeposit>, IKssFreeDepositService
+    {
+
+    }
+}

+ 19 - 0
Services/KssMerchantService.cs

@@ -0,0 +1,19 @@
+using Attribute;
+using Model;
+using Model.Base;
+using Repository;
+using Service;
+using Microsoft.AspNetCore.Mvc;
+
+
+namespace Services
+{
+    /// <summary>
+    /// 快闪刷商户Service业务层处理
+    /// </summary>
+    [AppService(ServiceType = typeof(IKssMerchantService), ServiceLifetime = LifeTime.Transient)]
+    public class KssMerchantService : BaseService<KssMerchant>, IKssMerchantService
+    {
+
+    }
+}

+ 19 - 0
Services/KssReturnDepositService.cs

@@ -0,0 +1,19 @@
+using Attribute;
+using Model;
+using Model.Base;
+using Repository;
+using Service;
+using Microsoft.AspNetCore.Mvc;
+
+
+namespace Services
+{
+    /// <summary>
+    /// 快闪刷商户返押Service业务层处理
+    /// </summary>
+    [AppService(ServiceType = typeof(IKssReturnDepositService), ServiceLifetime = LifeTime.Transient)]
+    public class KssReturnDepositService : BaseService<KssReturnDeposit>, IKssReturnDepositService
+    {
+
+    }
+}

+ 19 - 0
Services/KssStageRwdService.cs

@@ -0,0 +1,19 @@
+using Attribute;
+using Model;
+using Model.Base;
+using Repository;
+using Service;
+using Microsoft.AspNetCore.Mvc;
+
+
+namespace Services
+{
+    /// <summary>
+    /// 快闪刷商户在网达标Service业务层处理
+    /// </summary>
+    [AppService(ServiceType = typeof(IKssStageRwdService), ServiceLifetime = LifeTime.Transient)]
+    public class KssStageRwdService : BaseService<KssStageRwd>, IKssStageRwdService
+    {
+
+    }
+}

+ 19 - 0
Services/KssTradeFirstService.cs

@@ -0,0 +1,19 @@
+using Attribute;
+using Model;
+using Model.Base;
+using Repository;
+using Service;
+using Microsoft.AspNetCore.Mvc;
+
+
+namespace Services
+{
+    /// <summary>
+    /// 快闪刷商户首刷Service业务层处理
+    /// </summary>
+    [AppService(ServiceType = typeof(IKssTradeFirstService), ServiceLifetime = LifeTime.Transient)]
+    public class KssTradeFirstService : BaseService<KssTradeFirst>, IKssTradeFirstService
+    {
+
+    }
+}

+ 19 - 0
Services/MerchantRecordService.cs

@@ -0,0 +1,19 @@
+using Attribute;
+using Model;
+using Model.Base;
+using Repository;
+using Service;
+using Microsoft.AspNetCore.Mvc;
+
+
+namespace Services
+{
+    /// <summary>
+    /// 商户进件记录Service业务层处理
+    /// </summary>
+    [AppService(ServiceType = typeof(IMerchantRecordService), ServiceLifetime = LifeTime.Transient)]
+    public class MerchantRecordService : BaseService<MerchantRecord>, IMerchantRecordService
+    {
+
+    }
+}

+ 19 - 0
Services/MerchantStageRwdService.cs

@@ -0,0 +1,19 @@
+using Attribute;
+using Model;
+using Model.Base;
+using Repository;
+using Service;
+using Microsoft.AspNetCore.Mvc;
+
+
+namespace Services
+{
+    /// <summary>
+    /// 商户在网达标Service业务层处理
+    /// </summary>
+    [AppService(ServiceType = typeof(IMerchantStageRwdService), ServiceLifetime = LifeTime.Transient)]
+    public class MerchantStageRwdService : BaseService<MerchantStageRwd>, IMerchantStageRwdService
+    {
+
+    }
+}

+ 19 - 0
Services/MerchantsService.cs

@@ -0,0 +1,19 @@
+using Attribute;
+using Model;
+using Model.Base;
+using Repository;
+using Service;
+using Microsoft.AspNetCore.Mvc;
+
+
+namespace Services
+{
+    /// <summary>
+    /// 商户Service业务层处理
+    /// </summary>
+    [AppService(ServiceType = typeof(IMerchantsService), ServiceLifetime = LifeTime.Transient)]
+    public class MerchantsService : BaseService<Merchants>, IMerchantsService
+    {
+
+    }
+}

+ 19 - 0
Services/ProfitRecordService.cs

@@ -0,0 +1,19 @@
+using Attribute;
+using Model;
+using Model.Base;
+using Repository;
+using Service;
+using Microsoft.AspNetCore.Mvc;
+
+
+namespace Services
+{
+    /// <summary>
+    /// 分润记录Service业务层处理
+    /// </summary>
+    [AppService(ServiceType = typeof(IProfitRecordService), ServiceLifetime = LifeTime.Transient)]
+    public class ProfitRecordService : BaseService<ProfitRecord>, IProfitRecordService
+    {
+
+    }
+}

+ 19 - 0
Services/TradeFluxRecordService.cs

@@ -0,0 +1,19 @@
+using Attribute;
+using Model;
+using Model.Base;
+using Repository;
+using Service;
+using Microsoft.AspNetCore.Mvc;
+
+
+namespace Services
+{
+    /// <summary>
+    /// 流量卡分佣交易Service业务层处理
+    /// </summary>
+    [AppService(ServiceType = typeof(ITradeFluxRecordService), ServiceLifetime = LifeTime.Transient)]
+    public class TradeFluxRecordService : BaseService<TradeFluxRecord>, ITradeFluxRecordService
+    {
+
+    }
+}

+ 19 - 0
Services/TradeRecordService.cs

@@ -0,0 +1,19 @@
+using Attribute;
+using Model;
+using Model.Base;
+using Repository;
+using Service;
+using Microsoft.AspNetCore.Mvc;
+
+
+namespace Services
+{
+    /// <summary>
+    /// 交易记录Service业务层处理
+    /// </summary>
+    [AppService(ServiceType = typeof(ITradeRecordService), ServiceLifetime = LifeTime.Transient)]
+    public class TradeRecordService : BaseService<TradeRecord>, ITradeRecordService
+    {
+
+    }
+}

+ 19 - 0
Services/UnBindRecordService.cs

@@ -0,0 +1,19 @@
+using Attribute;
+using Model;
+using Model.Base;
+using Repository;
+using Service;
+using Microsoft.AspNetCore.Mvc;
+
+
+namespace Services
+{
+    /// <summary>
+    /// 解绑记录Service业务层处理
+    /// </summary>
+    [AppService(ServiceType = typeof(IUnBindRecordService), ServiceLifetime = LifeTime.Transient)]
+    public class UnBindRecordService : BaseService<UnBindRecord>, IUnBindRecordService
+    {
+
+    }
+}