增加 统计新接口
增加每日02时自动更新统计
This commit is contained in:
1 parent
3dac74c6c2
commit
22c7ecd4d8
24 files changed
+1895
-255
No files matched your search
@@ -0,0 +1,99 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace Store.Contracts.Order.Entitys;
|
||||
|
||||
/// <summary>
|
||||
/// 售后状态枚举
|
||||
/// </summary>
|
||||
public enum AfterSaleStatus
|
||||
{
|
||||
NONE,
|
||||
/// <summary>
|
||||
/// 用户取消申请
|
||||
/// </summary>
|
||||
USER_CANCELD,
|
||||
|
||||
/// <summary>
|
||||
/// 商家受理中
|
||||
/// </summary>
|
||||
MERCHANT_PROCESSING,
|
||||
|
||||
/// <summary>
|
||||
/// 商家拒绝退款
|
||||
/// </summary>
|
||||
MERCHANT_REJECT_REFUND,
|
||||
|
||||
/// <summary>
|
||||
/// 商家拒绝退货退款
|
||||
/// </summary>
|
||||
MERCHANT_REJECT_RETURN,
|
||||
|
||||
/// <summary>
|
||||
/// 待买家退货
|
||||
/// </summary>
|
||||
USER_WAIT_RETURN,
|
||||
|
||||
/// <summary>
|
||||
/// 退货退款关闭
|
||||
/// </summary>
|
||||
RETURN_CLOSED,
|
||||
|
||||
/// <summary>
|
||||
/// 待商家收货
|
||||
/// </summary>
|
||||
MERCHANT_WAIT_RECEIPT,
|
||||
|
||||
/// <summary>
|
||||
/// 商家逾期未退款
|
||||
/// </summary>
|
||||
MERCHANT_OVERDUE_REFUND,
|
||||
|
||||
/// <summary>
|
||||
/// 退款完成
|
||||
/// </summary>
|
||||
MERCHANT_REFUND_SUCCESS,
|
||||
|
||||
/// <summary>
|
||||
/// 退货退款完成
|
||||
/// </summary>
|
||||
MERCHANT_RETURN_SUCCESS,
|
||||
|
||||
/// <summary>
|
||||
/// 平台退款中
|
||||
/// </summary>
|
||||
PLATFORM_REFUNDING,
|
||||
|
||||
/// <summary>
|
||||
/// 平台退款失败
|
||||
/// </summary>
|
||||
PLATFORM_REFUND_FAIL,
|
||||
|
||||
/// <summary>
|
||||
/// 待用户确认
|
||||
/// </summary>
|
||||
USER_WAIT_CONFIRM,
|
||||
|
||||
/// <summary>
|
||||
/// 商家打款失败,客服关闭售后
|
||||
/// </summary>
|
||||
MERCHANT_REFUND_RETRY_FAIL,
|
||||
|
||||
/// <summary>
|
||||
/// 售后关闭
|
||||
/// </summary>
|
||||
MERCHANT_FAIL,
|
||||
|
||||
/// <summary>
|
||||
/// 待用户处理商家协商
|
||||
/// </summary>
|
||||
USER_WAIT_CONFIRM_UPDATE,
|
||||
|
||||
/// <summary>
|
||||
/// 待用户处理商家代发起的售后申请
|
||||
/// </summary>
|
||||
USER_WAIT_HANDLE_MERCHANT_AFTER_SALE
|
||||
}
|
||||
@@ -0,0 +1,123 @@
|
||||
using FreeSql.DataAnnotations;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace Store.Contracts.Order.Entitys;
|
||||
|
||||
/// <summary>
|
||||
/// 拼多多买手售后单表
|
||||
/// </summary>
|
||||
[Table(Name = "wxxd.order_pdd_buyer_after_sale")]
|
||||
public class OrderPddBuyerAfterSaleEntity
|
||||
{
|
||||
/// <summary>
|
||||
/// id
|
||||
/// </summary>
|
||||
[Column(Name = "id", IsPrimary = true, IsIdentity = true)]
|
||||
public long Id { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 微信订单
|
||||
/// </summary>
|
||||
[Column(Name = "wx_order_id")]
|
||||
public string WxOrderId { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 微信订单sku
|
||||
/// </summary>
|
||||
[Column(Name = "wx_sku_id")]
|
||||
public string WxSkuId { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 微信订单发货类型 0 中转仓,1店铺后台直发
|
||||
/// </summary>
|
||||
[Column(Name = "wx_send_type")]
|
||||
public byte WxSendType { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 中转单创建时间
|
||||
/// </summary>
|
||||
[Column(Name = "TransitCreateTime")]
|
||||
public DateTime? TransitCreateTime { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 中转仓取号状态
|
||||
/// </summary>
|
||||
[Column(Name = "pre_allocated_order_no")]
|
||||
public int? PreAllocatedOrderNo { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 买手编号
|
||||
/// </summary>
|
||||
[Column(Name = "buyerId")]
|
||||
public string BuyerId { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 买手名称
|
||||
/// </summary>
|
||||
[Column(Name = "buyerName")]
|
||||
public string BuyerName { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 售后单号
|
||||
/// </summary>
|
||||
[Column(Name = "afterSalesId")]
|
||||
public string AfterSalesId { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 买手单号
|
||||
/// </summary>
|
||||
[Column(Name = "orderSn")]
|
||||
public string OrderSn { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 拍单订单金额 单位分
|
||||
/// </summary>
|
||||
[Column(Name = "orderAmount")]
|
||||
public int? OrderAmount { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 售后金额 单位分
|
||||
/// </summary>
|
||||
[Column(Name = "refundAmount")]
|
||||
public int? RefundAmount { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 拍单日期 yyMMdd
|
||||
/// </summary>
|
||||
[Column(Name = "orderDate")]
|
||||
public long? OrderDate { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 售后状态
|
||||
/// </summary>
|
||||
[Column(Name = "statusText")]
|
||||
public string StatusText { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 退货地址
|
||||
/// </summary>
|
||||
[Column(Name = "afterSaleAddress")]
|
||||
public string AfterSaleAddress { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 买手订单详情
|
||||
/// </summary>
|
||||
[Column(Name = "order_detail")]
|
||||
public string OrderDetail { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// add_time
|
||||
/// </summary>
|
||||
[Column(Name = "add_time")]
|
||||
public DateTime AddTime { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// mdy_time
|
||||
/// </summary>
|
||||
[Column(Name = "mdy_time")]
|
||||
public DateTime MdyTime { get; set; }
|
||||
}
|
||||
@@ -0,0 +1,23 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace Store.Contracts.Order.Entitys;
|
||||
|
||||
/// <summary>
|
||||
/// 采购类型
|
||||
/// </summary>
|
||||
public enum PurchaseType
|
||||
{
|
||||
/// <summary>
|
||||
/// 从仓库采购
|
||||
/// </summary>
|
||||
FromWarehouse = 0,
|
||||
|
||||
/// <summary>
|
||||
/// 直接购买
|
||||
/// </summary>
|
||||
DirectPurchase = 1
|
||||
}
|
||||
@@ -10,7 +10,7 @@ namespace Store.Contracts.Order.Entitys;
|
||||
/// <summary>
|
||||
/// 微信外采取号日志表
|
||||
/// </summary>
|
||||
[Table(Name = "wxxd.oms_wei_external_procurement_log")]
|
||||
[Table(Name = "erp.oms_wei_external_procurement_log")]
|
||||
public class WeiExternalProcurementLogEntity
|
||||
{
|
||||
/// <summary>
|
||||
@@ -161,7 +161,7 @@ public class WeiExternalProcurementLogEntity
|
||||
/// 订单作废状态:0=正常,1=已作废,2=作废失败
|
||||
/// </summary>
|
||||
[Column(Name = "order_void_status")]
|
||||
public byte OrderVoidStatus { get; set; }
|
||||
public int OrderVoidStatus { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 虚拟单号
|
||||
|
||||
Reference in new issue
Block a user