hk-cdp 1.0.80__py3-none-any.whl → 1.0.81__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.

Potentially problematic release.


This version of hk-cdp might be problematic. Click here for more details.

@@ -2,7 +2,7 @@
2
2
  """
3
3
  @Author: HuangJianYi
4
4
  @Date: 2024-10-15 18:30:21
5
- @LastEditTime: 2024-11-06 15:23:22
5
+ @LastEditTime: 2025-06-16 17:48:39
6
6
  @LastEditors: HuangJianYi
7
7
  @Description:
8
8
  """
@@ -41,6 +41,8 @@ class TradeInfo:
41
41
  self.postage = 0.0 # 邮费
42
42
  self.discount_price = 0.0 # 优惠金额
43
43
  self.refund_price = 0.0 # 退款金额
44
+ self.buy_num = 0 # 商品件数
45
+ self.order_num = 0 # 子订单数量
44
46
  self.order_status = "" # 订单状态
45
47
  self.plat_store_id = "" # 平台店铺标识
46
48
  self.receiver = "" # 收货人
@@ -57,7 +59,7 @@ class TradeInfo:
57
59
  self.end_date = "1970-01-01 00:00:00.000" # 交易结束时间。交易成功时间(更新交易状态为成功的同时更新)/确认收货时间或者交易关闭时间
58
60
  self.source_type = 0 # 来源类型(1-历史备份数据导入 2-天猫会员通 3-抖音会员通)
59
61
  self.source_title = "" # 来源说明
60
- self.modify_date = "1970-01-01 00:00:00.000" # 修改时间(跟rds同步)
62
+ self.modify_date = "1970-01-01 00:00:00.000" # 修改时间(跟rds同步)
61
63
  self.is_incr_data = 0 # 是否增量数据(1-是 0-否)
62
64
  self.process_date = "1970-01-01 00:00:00.000" # 处理时间
63
65
  self.reward_process_status = 0 # 奖励处理状态:0-无需处理1-待处理2-已处理3-延迟处理10-订单异常
@@ -67,15 +69,9 @@ class TradeInfo:
67
69
  @classmethod
68
70
  def get_field_list(self):
69
71
  return [
70
- 'id', 'main_pay_order_no', 'store_id', 'business_id', 'one_id',
71
- 'user_id', 'ouid', 'platform_id', 'seller_nick', 'trade_type',
72
- 'step_trade_status', 'order_price', 'pay_price', 'postage',
73
- 'discount_price', 'refund_price', 'order_status', 'plat_store_id',
74
- 'receiver', 'telephone', 'receiver_province', 'receiver_city',
75
- 'receiver_county', 'receiver_address', 'seller_remark',
76
- 'trade_source_types', 'create_date', 'pay_date', 'consign_date',
77
- 'end_date', 'source_type', 'source_title', 'modify_date',
78
- 'is_incr_data', 'process_date', 'reward_process_status', 'refund_process_status','surplus_refund_price'
72
+ 'id', 'main_pay_order_no', 'store_id', 'business_id', 'one_id', 'user_id', 'ouid', 'platform_id', 'seller_nick', 'trade_type', 'step_trade_status', 'order_price', 'pay_price', 'postage', 'discount_price', 'refund_price', 'buy_num', 'order_num', 'order_status',
73
+ 'plat_store_id', 'receiver', 'telephone', 'receiver_province', 'receiver_city', 'receiver_county', 'receiver_address', 'seller_remark', 'trade_source_types', 'create_date', 'pay_date', 'consign_date', 'end_date', 'source_type', 'source_title', 'modify_date',
74
+ 'is_incr_data', 'process_date', 'reward_process_status', 'refund_process_status', 'surplus_refund_price'
79
75
  ]
80
76
 
81
77
  @classmethod
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: hk-cdp
3
- Version: 1.0.80
3
+ Version: 1.0.81
4
4
  Summary: hk cdp
5
5
  Home-page: http://gitlab.tdtech.gao7.com/newfire/hk_cap/hk_cdp/server/hk_cdp.git
6
6
  Author: seven
@@ -51,7 +51,7 @@ hk_cdp/models/db_models/taobao/taobao_source_buyer_model.py,sha256=Uu9Pf449DfRcG
51
51
  hk_cdp/models/db_models/taobao/taobao_source_history_member_model.py,sha256=hQC0I4fBI8EEwariZ15cX_BL8vpBsUVjO_9_A7BK4j8,2088
52
52
  hk_cdp/models/db_models/trade/__init__.py,sha256=QxTCD3TJRFF4SZU83T-lATdDIKTuTmFopGpRs_Lps2E,101
53
53
  hk_cdp/models/db_models/trade/trade_give_info_model.py,sha256=Ie7z0skN8n0kHVfHljpHf4DLvLUK36DxfTvptowCma0,1767
54
- hk_cdp/models/db_models/trade/trade_info_model.py,sha256=lFpI_DtbB_cjVPyf-yfibtfWKkY_frjj6F5mc_yZ7So,4230
54
+ hk_cdp/models/db_models/trade/trade_info_model.py,sha256=_4AxEzUWN94Dtw8awvYz9IWz7Ls0DWZXk6EyX3tQVUk,4266
55
55
  hk_cdp/models/db_models/trade/trade_order_model.py,sha256=_q_cMx1-dTA-RPf7s9tCLf7VXHBtCgqsvGmDcKVV7d0,2365
56
56
  hk_cdp/models/db_models/trade/trade_status_info_model.py,sha256=YOCfjD1LJCEY4QCc5p_jivN0O608UA_mcg1RnzIYvZY,1703
57
57
  hk_cdp/models/db_models/tt/__init__.py,sha256=udhmTaFhq9P2bisJyTJiIwebDMEzc-HqBZdGmARZIEQ,136
@@ -64,8 +64,8 @@ hk_cdp/models/db_models/user/__init__.py,sha256=O_F1_TiR_075ATAHcahxTKJwUdYeY-Qz
64
64
  hk_cdp/models/db_models/user/user_data_model.py,sha256=_0PbEsUf5e2JY2PL3LLj09cGAtAmS0dhnJnLCDNdkNc,2696
65
65
  hk_cdp/models/db_models/user/user_info_model.py,sha256=60Rwfn-N-M3zpp1zipxyXrHDyftkTU5J3lhIrAiFavY,4104
66
66
  hk_cdp/models/db_models/user/user_trends_model.py,sha256=CjlIbFFkTdTGIHYQ-cHkg9xUz92QC-sxmMBGPzcUvc4,1544
67
- hk_cdp-1.0.80.dist-info/LICENSE,sha256=hKHSuDoDoyOk6vOrpkYnOXZ640PvhUa-BTQbRRtFsUk,1061
68
- hk_cdp-1.0.80.dist-info/METADATA,sha256=b14avdQcN1WmHX7kajCJuv9SFdczFXvVGD8o80FzZSc,7101
69
- hk_cdp-1.0.80.dist-info/WHEEL,sha256=g4nMs7d-Xl9-xC9XovUrsDHGXt-FT0E17Yqo92DEfvY,92
70
- hk_cdp-1.0.80.dist-info/top_level.txt,sha256=omzIr_m5qnzhfcdscOVr4P4JUB49wlP6KztqvlqDntw,7
71
- hk_cdp-1.0.80.dist-info/RECORD,,
67
+ hk_cdp-1.0.81.dist-info/LICENSE,sha256=hKHSuDoDoyOk6vOrpkYnOXZ640PvhUa-BTQbRRtFsUk,1061
68
+ hk_cdp-1.0.81.dist-info/METADATA,sha256=T5nsT3OnYqId3w3AMOug4h040ecfxgwmp53kNqIixPo,7101
69
+ hk_cdp-1.0.81.dist-info/WHEEL,sha256=g4nMs7d-Xl9-xC9XovUrsDHGXt-FT0E17Yqo92DEfvY,92
70
+ hk_cdp-1.0.81.dist-info/top_level.txt,sha256=omzIr_m5qnzhfcdscOVr4P4JUB49wlP6KztqvlqDntw,7
71
+ hk_cdp-1.0.81.dist-info/RECORD,,