hk-cdp 1.0.116__py3-none-any.whl → 1.0.118__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.
@@ -2,7 +2,7 @@
2
2
  """
3
3
  @Author: HuangJianYi
4
4
  @Date: 2024-11-19 15:01:40
5
- @LastEditTime: 2025-01-10 17:29:51
5
+ @LastEditTime: 2025-08-22 17:32:54
6
6
  @LastEditors: HuangJianYi
7
7
  @Description:
8
8
  """
@@ -38,6 +38,7 @@ class StoreBase:
38
38
  self.plat_store_id = "" # 平台店铺标识
39
39
  self.init_integral_multiple = "" # 初始积分倍数
40
40
  self.init_growth_config = {} # 初始成长值配置
41
+ self.init_exclude_goods = {} # 初始排除商品
41
42
  self.incr_process_start_date = "1970-01-01 00:00:00.000" # 增量处理时间
42
43
  self.is_omid_merge = 0 # 是否走omid合并逻辑(1-是 0-否)
43
44
  self.create_date = "1970-01-01 00:00:00.000" # 创建时间
@@ -46,7 +47,7 @@ class StoreBase:
46
47
 
47
48
  @classmethod
48
49
  def get_field_list(self):
49
- return ['id', 'guid', 'business_id', 'scheme_id', 'platform_id', 'store_name', 'seller_nick', 'plat_store_id', 'init_integral_multiple', 'init_growth_config', 'incr_process_start_date', 'is_omid_merge', 'create_date', 'modify_date']
50
+ return ['id', 'guid', 'business_id', 'scheme_id', 'platform_id', 'store_name', 'seller_nick', 'plat_store_id', 'init_integral_multiple', 'init_growth_config', 'init_exclude_goods', 'incr_process_start_date', 'is_omid_merge', 'create_date', 'modify_date']
50
51
 
51
52
  @classmethod
52
53
  def get_primary_key(self):
@@ -41,6 +41,7 @@ class TradeInfo:
41
41
  self.postage = 0.0 # 邮费
42
42
  self.discount_price = 0.0 # 优惠金额
43
43
  self.refund_price = 0.0 # 退款金额
44
+ self.settle_price = 0.0 # 结算金额
44
45
  self.buy_num = 0 # 商品件数
45
46
  self.order_num = 0 # 子订单数量
46
47
  self.order_status = "" # 订单状态
@@ -75,9 +76,9 @@ class TradeInfo:
75
76
  @classmethod
76
77
  def get_field_list(self):
77
78
  return [
78
- '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',
79
- 'plat_store_id', 'receiver', 'telephone', 'receiver_province', 'receiver_city', 'receiver_county', 'receiver_address', 'buyer_remark', 'seller_remark', 'seller_flag', 'buyer_rate', 'seller_rate', 'expand_card_basic_price', 'trade_source_types', 'create_date',
80
- 'pay_date', 'consign_date', 'end_date', 'source_type', 'source_title', 'modify_date', 'inside_date', 'is_incr_data', 'process_date', 'reward_process_status', 'refund_process_status', 'surplus_refund_price'
79
+ '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', 'settle_price', 'buy_num', 'order_num',
80
+ 'order_status', 'plat_store_id', 'receiver', 'telephone', 'receiver_province', 'receiver_city', 'receiver_county', 'receiver_address', 'buyer_remark', 'seller_remark', 'seller_flag', 'buyer_rate', 'seller_rate', 'expand_card_basic_price', 'trade_source_types',
81
+ 'create_date', 'pay_date', 'consign_date', 'end_date', 'source_type', 'source_title', 'modify_date', 'inside_date', 'is_incr_data', 'process_date', 'reward_process_status', 'refund_process_status', 'surplus_refund_price'
81
82
  ]
82
83
 
83
84
  @classmethod
@@ -43,16 +43,18 @@ class TradeOrder:
43
43
  self.order_price = 0.0 # 子订单金额
44
44
  self.pay_price = 0.0 # 子支付金额
45
45
  self.discount_price = 0.0 # 优惠金额
46
+ self.divide_order_price = 0.0 # 分摊后子订单实付金额
46
47
  self.order_status = "" # 子订单状态
47
48
  self.refund_status = "" # 退款状态
48
49
  self.refund_id = "" # 退款订单号
50
+ self.refund_price = 0.0 # 退款金额
49
51
 
50
52
  @classmethod
51
53
  def get_field_list(self):
52
54
  return [
53
- 'id', 'business_id', 'store_id', 'plat_store_id', 'user_id', 'ouid', 'platform_id', 'main_pay_order_no', 'sub_pay_order_no',
54
- 'goods_code', 'goods_name', 'goods_pic', 'goods_id', 'sku_id','buy_num', 'goods_price', 'order_price', 'pay_price', 'discount_price', 'order_status', 'refund_status', 'refund_id'
55
- ]
55
+ 'id', 'business_id', 'store_id', 'plat_store_id', 'user_id', 'ouid', 'platform_id', 'main_pay_order_no', 'sub_pay_order_no', 'goods_code', 'goods_name', 'goods_pic', 'goods_id', 'sku_id', 'buy_num', 'goods_price', 'order_price', 'pay_price', 'discount_price',
56
+ 'divide_order_price', 'order_status', 'refund_status', 'refund_id', 'refund_price'
57
+ ]
56
58
 
57
59
  @classmethod
58
60
  def get_primary_key(self):
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: hk-cdp
3
- Version: 1.0.116
3
+ Version: 1.0.118
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
@@ -40,7 +40,7 @@ hk_cdp/models/db_models/scheme/scheme_integral_model.py,sha256=7rVqdjB151Tytadfq
40
40
  hk_cdp/models/db_models/scheme/scheme_level_info_model.py,sha256=5wx2JFwvXYBmeSnvGCnY4xs2mPvjBfvl2j23-OFqLcs,2224
41
41
  hk_cdp/models/db_models/scheme/scheme_level_model.py,sha256=_t1VsZ1-iFNLRt9TDilJO4U3twHeX8KDrUkeD9Bt9dc,2170
42
42
  hk_cdp/models/db_models/store/__init__.py,sha256=zg-nnkPuGsi2-UT9OPlZc5ouQ1KYOtLyuh5_3pHCBuQ,232
43
- hk_cdp/models/db_models/store/store_base_model.py,sha256=Gw7Pjo3-bPT134uJ5y6Ckp4tnCZGo7m6OetBjN8-PDE,2163
43
+ hk_cdp/models/db_models/store/store_base_model.py,sha256=nIzMw2W_LpnqJhBFy-9UjEgycWKqHo0ajhXTejqqTtE,2243
44
44
  hk_cdp/models/db_models/store/store_goods_model.py,sha256=emtShP8-3cjrWXCMi-ueyk85wkEe62I8J-jUVAp657U,1910
45
45
  hk_cdp/models/db_models/store/store_prefix_log_model.py,sha256=lJgN9S2_azswzUkrC8zpfV-uT_Mo3gOg1PvEtValVK8,1225
46
46
  hk_cdp/models/db_models/sync/__init__.py,sha256=3yNTLEqN1lJDHTVXsvic3Yf7Io-jFDGkwDQKUAKYh-Q,63
@@ -54,8 +54,8 @@ hk_cdp/models/db_models/taobao/taobao_source_buyer_model.py,sha256=i5s2BryvepkV1
54
54
  hk_cdp/models/db_models/taobao/taobao_source_history_member_model.py,sha256=m2_YzlpoPL6jhZv4pYW4Vg4LXMGqDFLpj6g9erX3yMw,2199
55
55
  hk_cdp/models/db_models/trade/__init__.py,sha256=q5ixL1_9cJxTmpzi7VtKceKNLCKZceDlrTEqqZn86IM,257
56
56
  hk_cdp/models/db_models/trade/trade_give_info_model.py,sha256=l70K-aiyOkNRy2NPLGDOG-vUnM6Vw0NqAdbwW7cxT0k,1868
57
- hk_cdp/models/db_models/trade/trade_info_model.py,sha256=VoAZoPNt9KcY8UKUoOzZ7pmgdkAemnKp7jdNrvztaso,4841
58
- hk_cdp/models/db_models/trade/trade_order_model.py,sha256=ibE4pCdWcIPow6kBpgRayHgFuOG4xSBtcLD7Bd9YHhE,2413
57
+ hk_cdp/models/db_models/trade/trade_info_model.py,sha256=bvfNmJsLivvgOhgnsqdhR2vRjLseT5QD_bdjIl4SVzg,4904
58
+ hk_cdp/models/db_models/trade/trade_order_model.py,sha256=Ux6hJZrDybYXyc_8MKADcS8UoL9_-XKc7kStq6Gg5Wo,2566
59
59
  hk_cdp/models/db_models/trade/trade_status_info_model.py,sha256=R8HaCRRmXIa76ZWajW6YcdAxbPZPKiDDPLszUkD2azc,1946
60
60
  hk_cdp/models/db_models/tt/__init__.py,sha256=udhmTaFhq9P2bisJyTJiIwebDMEzc-HqBZdGmARZIEQ,136
61
61
  hk_cdp/models/db_models/tt/tt_rds_item_model.py,sha256=WCgZIo1lBgR1VWfS-8SALXWcIFaYPTO9VHW6qFLAAaQ,2004
@@ -67,8 +67,8 @@ hk_cdp/models/db_models/user/__init__.py,sha256=O_F1_TiR_075ATAHcahxTKJwUdYeY-Qz
67
67
  hk_cdp/models/db_models/user/user_data_model.py,sha256=hswh3ELJtBilEgzr7W6MfmaWsnSr93oO0nizbbPeRAk,2757
68
68
  hk_cdp/models/db_models/user/user_info_model.py,sha256=TywpvlFGkch9hO_szyhin-ed4xfTWBM7L59IU96SfxU,4138
69
69
  hk_cdp/models/db_models/user/user_trends_model.py,sha256=oxJCBnJQEvFr1_heV_cxRrPIic6_oSoLqARc6ldp2LM,1592
70
- hk_cdp-1.0.116.dist-info/LICENSE,sha256=hKHSuDoDoyOk6vOrpkYnOXZ640PvhUa-BTQbRRtFsUk,1061
71
- hk_cdp-1.0.116.dist-info/METADATA,sha256=5IpB4nJ18FeTHZ_3dTzmCzM1LiwxlCo95iqVgBog3YA,7102
72
- hk_cdp-1.0.116.dist-info/WHEEL,sha256=g4nMs7d-Xl9-xC9XovUrsDHGXt-FT0E17Yqo92DEfvY,92
73
- hk_cdp-1.0.116.dist-info/top_level.txt,sha256=omzIr_m5qnzhfcdscOVr4P4JUB49wlP6KztqvlqDntw,7
74
- hk_cdp-1.0.116.dist-info/RECORD,,
70
+ hk_cdp-1.0.118.dist-info/LICENSE,sha256=hKHSuDoDoyOk6vOrpkYnOXZ640PvhUa-BTQbRRtFsUk,1061
71
+ hk_cdp-1.0.118.dist-info/METADATA,sha256=3380AZyWaVEY9jQj2RNoJxaf5am7xOEPTPf3p2a6NqY,7102
72
+ hk_cdp-1.0.118.dist-info/WHEEL,sha256=g4nMs7d-Xl9-xC9XovUrsDHGXt-FT0E17Yqo92DEfvY,92
73
+ hk_cdp-1.0.118.dist-info/top_level.txt,sha256=omzIr_m5qnzhfcdscOVr4P4JUB49wlP6KztqvlqDntw,7
74
+ hk_cdp-1.0.118.dist-info/RECORD,,