hk-cdp 1.0.119__py3-none-any.whl → 1.0.121__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.
@@ -6,4 +6,4 @@
6
6
  @LastEditors: HuangJianYi
7
7
  @Description:
8
8
  """
9
- __all__ = ["trade_info_model","trade_order_model","trade_status_info_model","trade_give_info_model","trade_order_extension_model"]
9
+ __all__ = ["trade_info_model", "trade_order_model", "trade_status_info_model", "trade_give_info_model", "trade_order_exclude_model"]
@@ -12,9 +12,9 @@ from seven_framework.base_model import *
12
12
  from seven_cloudapp_frame.models.cache_model import *
13
13
 
14
14
 
15
- class TradeOrderExtensionModel(CacheModel):
15
+ class TradeOrderExcludeModel(CacheModel):
16
16
  def __init__(self, db_connect_key='db_cloudapp', db_config_dict=None, sub_table=None, db_transaction=None, context=None, is_auto=False):
17
- super(TradeOrderExtensionModel, self).__init__(TradeOrderExtension, sub_table)
17
+ super(TradeOrderExcludeModel, self).__init__(TradeOrderExclude, sub_table)
18
18
  if not db_config_dict:
19
19
  db_config_dict = config.get_value(db_connect_key)
20
20
  self.db = MySQLHelper(self.convert_db_config(db_config_dict, is_auto))
@@ -23,9 +23,9 @@ class TradeOrderExtensionModel(CacheModel):
23
23
  self.db.context = context
24
24
 
25
25
 
26
- class TradeOrderExtension:
26
+ class TradeOrderExclude:
27
27
  def __init__(self):
28
- super(TradeOrderExtension, self).__init__()
28
+ super(TradeOrderExclude, self).__init__()
29
29
  self.id = 0 # id
30
30
  self.user_id = "" # 客户ID
31
31
  self.business_id = 0 # 商家标识
@@ -49,4 +49,4 @@ class TradeOrderExtension:
49
49
  return "id"
50
50
 
51
51
  def __str__(self):
52
- return "trade_order_extension_tb"
52
+ return "trade_order_exclude_tb"
@@ -36,6 +36,7 @@ class UserData:
36
36
  self.first_pay_date = "1970-01-01 00:00:00.000" # 首次付款时间
37
37
  self.last_order_date = "1970-01-01 00:00:00.000" # 最近下单时间
38
38
  self.last_pay_date = "1970-01-01 00:00:00.000" # 最近付款时间
39
+ self.last_second_pay_date = "1970-01-01 00:00:00.000" # 倒数第二次付款时间
39
40
  self.last_trade_date = "1970-01-01 00:00:00.000" # 最近交易时间
40
41
  self.trade_success_price = 0.0000 # 交易成功金额
41
42
  self.trade_success_num = 0 # 交易成功笔数
@@ -51,8 +52,8 @@ class UserData:
51
52
  @classmethod
52
53
  def get_field_list(self):
53
54
  return [
54
- 'id', 'user_id', 'ouid', 'business_id', 'platform_id', 'store_id', 'plat_store_id', 'first_order_date', 'first_pay_date', 'last_order_date', 'last_pay_date', 'last_trade_date', 'trade_success_price', 'trade_success_num', 'buy_num', 'refund_price', 'refund_num',
55
- 'presell_order_num', 'presell_pay_num', 'presell_order_price', 'presell_pay_price', 'buy_back_day'
55
+ 'id', 'user_id', 'ouid', 'business_id', 'platform_id', 'store_id', 'plat_store_id', 'first_order_date', 'first_pay_date', 'last_order_date', 'last_pay_date', 'last_second_pay_date', 'last_trade_date', 'trade_success_price', 'trade_success_num', 'buy_num',
56
+ 'refund_price', 'refund_num', 'presell_order_num', 'presell_pay_num', 'presell_order_price', 'presell_pay_price', 'buy_back_day'
56
57
  ]
57
58
 
58
59
  @classmethod
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: hk-cdp
3
- Version: 1.0.119
3
+ Version: 1.0.121
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
@@ -52,10 +52,10 @@ hk_cdp/models/db_models/taobao/taobao_rds_refund_model.py,sha256=1hCIIaIz3Ud_2Hs
52
52
  hk_cdp/models/db_models/taobao/taobao_rds_trade_model.py,sha256=zmZzunkuVdZ9l9FxgYfQyP-XNqJyedT415pRWnRpRCI,1659
53
53
  hk_cdp/models/db_models/taobao/taobao_source_buyer_model.py,sha256=i5s2BryvepkV12EC7TdGTLb4hlLEaDsAhOp7RCMe9WY,2255
54
54
  hk_cdp/models/db_models/taobao/taobao_source_history_member_model.py,sha256=m2_YzlpoPL6jhZv4pYW4Vg4LXMGqDFLpj6g9erX3yMw,2199
55
- hk_cdp/models/db_models/trade/__init__.py,sha256=FiKB9Gtjp-oCCFn0qTl-QtLvkzSHVGngbGJFUswqDZQ,287
55
+ hk_cdp/models/db_models/trade/__init__.py,sha256=FhUjCX2LSg636wVo99svhw07qSNg0OYljMKIxbuRLws,289
56
56
  hk_cdp/models/db_models/trade/trade_give_info_model.py,sha256=l70K-aiyOkNRy2NPLGDOG-vUnM6Vw0NqAdbwW7cxT0k,1868
57
57
  hk_cdp/models/db_models/trade/trade_info_model.py,sha256=bvfNmJsLivvgOhgnsqdhR2vRjLseT5QD_bdjIl4SVzg,4904
58
- hk_cdp/models/db_models/trade/trade_order_extension_model.py,sha256=Ezrhv85crOBB2bWYf-lVcfwjifLWQL9MD2DUXDCcC5E,1839
58
+ hk_cdp/models/db_models/trade/trade_order_exclude_model.py,sha256=FOBdk6HLFw_qArQZ_f7qfarkTvAdM00XYc6eQCrH0-A,1827
59
59
  hk_cdp/models/db_models/trade/trade_order_model.py,sha256=Ux6hJZrDybYXyc_8MKADcS8UoL9_-XKc7kStq6Gg5Wo,2566
60
60
  hk_cdp/models/db_models/trade/trade_status_info_model.py,sha256=R8HaCRRmXIa76ZWajW6YcdAxbPZPKiDDPLszUkD2azc,1946
61
61
  hk_cdp/models/db_models/tt/__init__.py,sha256=udhmTaFhq9P2bisJyTJiIwebDMEzc-HqBZdGmARZIEQ,136
@@ -65,11 +65,11 @@ hk_cdp/models/db_models/tt/tt_rds_trade_model.py,sha256=BBc0uHI7VDRWRcCGZHniWtkk
65
65
  hk_cdp/models/db_models/tt/tt_source_buyer_model.py,sha256=xftM1m2DMIQVyw6y1vJgNlVqqL63k8iMgdLpg5GiI9w,1779
66
66
  hk_cdp/models/db_models/tt/tt_source_history_member_model.py,sha256=aCm-m8qGyrzNDpYMXjvFfdKh501WEX6ClAqcd11KXg8,2179
67
67
  hk_cdp/models/db_models/user/__init__.py,sha256=O_F1_TiR_075ATAHcahxTKJwUdYeY-QzJqzO0EbsaCM,68
68
- hk_cdp/models/db_models/user/user_data_model.py,sha256=hswh3ELJtBilEgzr7W6MfmaWsnSr93oO0nizbbPeRAk,2757
68
+ hk_cdp/models/db_models/user/user_data_model.py,sha256=eH-fMdbxpo_l9Ci7TwlPbxREYq3DSSgr2hT0j_Nwwr4,2874
69
69
  hk_cdp/models/db_models/user/user_info_model.py,sha256=TywpvlFGkch9hO_szyhin-ed4xfTWBM7L59IU96SfxU,4138
70
70
  hk_cdp/models/db_models/user/user_trends_model.py,sha256=oxJCBnJQEvFr1_heV_cxRrPIic6_oSoLqARc6ldp2LM,1592
71
- hk_cdp-1.0.119.dist-info/LICENSE,sha256=hKHSuDoDoyOk6vOrpkYnOXZ640PvhUa-BTQbRRtFsUk,1061
72
- hk_cdp-1.0.119.dist-info/METADATA,sha256=lSDR58Avd62mePB634kIwAYTk27kzuHEQqDRUbbtrPY,7102
73
- hk_cdp-1.0.119.dist-info/WHEEL,sha256=g4nMs7d-Xl9-xC9XovUrsDHGXt-FT0E17Yqo92DEfvY,92
74
- hk_cdp-1.0.119.dist-info/top_level.txt,sha256=omzIr_m5qnzhfcdscOVr4P4JUB49wlP6KztqvlqDntw,7
75
- hk_cdp-1.0.119.dist-info/RECORD,,
71
+ hk_cdp-1.0.121.dist-info/LICENSE,sha256=hKHSuDoDoyOk6vOrpkYnOXZ640PvhUa-BTQbRRtFsUk,1061
72
+ hk_cdp-1.0.121.dist-info/METADATA,sha256=SqYqXeJKu92E49FmPZKi6xFgQuAvG-DzlBaBpOtSY6E,7102
73
+ hk_cdp-1.0.121.dist-info/WHEEL,sha256=g4nMs7d-Xl9-xC9XovUrsDHGXt-FT0E17Yqo92DEfvY,92
74
+ hk_cdp-1.0.121.dist-info/top_level.txt,sha256=omzIr_m5qnzhfcdscOVr4P4JUB49wlP6KztqvlqDntw,7
75
+ hk_cdp-1.0.121.dist-info/RECORD,,