hk-cdp 1.0.108__py3-none-any.whl → 1.0.110__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-11-06 09:39:45
5
- @LastEditTime: 2025-01-23 17:30:39
5
+ @LastEditTime: 2025-08-13 16:29:58
6
6
  @LastEditors: HuangJianYi
7
7
  @Description:
8
8
  """
@@ -77,15 +77,12 @@ class CdpWorkInfo:
77
77
  self.run_start_date = '1970-01-01 00:00:00.000' # 开始运行时间
78
78
  self.run_end_date = '1970-01-01 00:00:00.000' # 结束运行时间
79
79
  self.run_last_date = '1970-01-01 00:00:00.000' # 最近运行时间
80
+ self.extend_info = {} # 扩展信息json
80
81
  self.create_date = '1970-01-01 00:00:00.000' # 创建时间
81
82
 
82
83
  @classmethod
83
84
  def get_field_list(self):
84
- return [
85
- 'id', 'business_id', 'scheme_id', 'store_id', 'work_name', 'work_desc',
86
- 'is_open', 'progress_type', 'step_value', 'run_desc',
87
- 'run_start_date', 'run_end_date', 'run_last_date', 'create_date'
88
- ]
85
+ return ['id', 'business_id', 'scheme_id', 'store_id', 'work_name', 'work_desc', 'is_open', 'progress_type', 'step_value', 'run_desc', 'run_start_date', 'run_end_date', 'run_last_date', 'extend_info', 'create_date']
89
86
 
90
87
  @classmethod
91
88
  def get_primary_key(self):
@@ -0,0 +1,50 @@
1
+ # -*- coding: utf-8 -*-
2
+ """
3
+ @Author: HuangJianYi
4
+ @Date: 2024-11-06 18:48:03
5
+ @LastEditTime: 2024-11-15 09:59:53
6
+ @LastEditors: HuangJianYi
7
+ @Description:
8
+ """
9
+ #此文件由rigger自动生成
10
+ from seven_framework.mysql import MySQLHelper
11
+ from seven_framework.base_model import *
12
+ from seven_cloudapp_frame.models.cache_model import *
13
+
14
+ class TradeMobileQueueModel(CacheModel):
15
+ def __init__(self, db_connect_key='db_cloudapp', db_config_dict=None, sub_table=None, db_transaction=None, context=None, is_auto=False):
16
+ super(TradeMobileQueueModel, self).__init__(TradeMobileQueue, sub_table)
17
+ if not db_config_dict:
18
+ db_config_dict = config.get_value(db_connect_key)
19
+ self.db = MySQLHelper(self.convert_db_config(db_config_dict, is_auto))
20
+ self.db_connect_key = db_connect_key
21
+ self.db_transaction = db_transaction
22
+ self.db.context = context
23
+
24
+ #方法扩展请继承此类
25
+
26
+
27
+ class TradeMobileQueue:
28
+ def __init__(self):
29
+ super(TradeMobileQueue, self).__init__()
30
+ self.id = 0 # id
31
+ self.user_id = "" # 客户ID
32
+ self.business_id = 0 # 商家标识
33
+ self.store_id = 0 # 店铺标识
34
+ self.platform_id = 0 # 平台标识(1-淘宝 2-抖音 3-京东 4-微信)
35
+ self.main_pay_order_no = "" # 主订单号
36
+ self.order_create_date = '1970-01-01 00:00:00.000' # 订单创建时间
37
+ self.is_sync = 0 # 是否同步(0-否 1-是)
38
+ self.sync_date = '1970-01-01 00:00:00.000' # 同步时间
39
+
40
+
41
+ @classmethod
42
+ def get_field_list(self):
43
+ return ['id', 'user_id', 'business_id', 'store_id', 'platform_id', 'main_pay_order_no', 'order_create_date', 'is_sync', 'sync_date']
44
+
45
+ @classmethod
46
+ def get_primary_key(self):
47
+ return "id"
48
+
49
+ def __str__(self):
50
+ return "trade_mobile_queue_tb"
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: hk-cdp
3
- Version: 1.0.108
3
+ Version: 1.0.110
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
@@ -21,7 +21,7 @@ hk_cdp/models/db_models/cap/cap_business_info_model.py,sha256=GnRMcS2n1bHgNIELHs
21
21
  hk_cdp/models/db_models/cap/cap_store_info_model.py,sha256=qewjcGdPnlK-R8yY564qogP7IuiqhcxyMAJrrNjprqY,1716
22
22
  hk_cdp/models/db_models/cdp/__init__.py,sha256=8AyJZ9QNMMgbxCoroCPpckaYWST0whyfaKPrLcwNUoA,213
23
23
  hk_cdp/models/db_models/cdp/cdp_store_info_model.py,sha256=f5XFVEST3jWrrSlEKPpPkClg4b1A1mFu8wVmk9zYvKg,2931
24
- hk_cdp/models/db_models/cdp/cdp_work_info_model.py,sha256=Fg9jyzGjqHAd974BywgQ4iH8KR-Cf9fCxo-4BE0dVGM,3749
24
+ hk_cdp/models/db_models/cdp/cdp_work_info_model.py,sha256=zbvmtSlrgvJUSp8IRbIWe839lqceSfDPsg6Naj9jS6I,3768
25
25
  hk_cdp/models/db_models/member/__init__.py,sha256=848n8bTcWDnFiqDnucKrEMskbXJMLz29ju6s6ta2bR4,311
26
26
  hk_cdp/models/db_models/member/member_asset_log_model.py,sha256=NnUbiCAmJcmB16iVDnsSQITlDo4Sw8zsUEIk6cgS00w,3079
27
27
  hk_cdp/models/db_models/member/member_asset_model.py,sha256=zhH7JSStpU3HBxedN90Ch4ZFvc3SvP9jXub1XvE9SHE,2086
@@ -54,6 +54,7 @@ hk_cdp/models/db_models/taobao/taobao_source_history_member_model.py,sha256=m2_Y
54
54
  hk_cdp/models/db_models/trade/__init__.py,sha256=QxTCD3TJRFF4SZU83T-lATdDIKTuTmFopGpRs_Lps2E,101
55
55
  hk_cdp/models/db_models/trade/trade_give_info_model.py,sha256=l70K-aiyOkNRy2NPLGDOG-vUnM6Vw0NqAdbwW7cxT0k,1868
56
56
  hk_cdp/models/db_models/trade/trade_info_model.py,sha256=VoAZoPNt9KcY8UKUoOzZ7pmgdkAemnKp7jdNrvztaso,4841
57
+ hk_cdp/models/db_models/trade/trade_mobile_queue_model.py,sha256=CM7g84T6s0v_ukUSxjZ_eCQBFAnwvqqLWw4a6-9Pfow,1829
57
58
  hk_cdp/models/db_models/trade/trade_order_model.py,sha256=ibE4pCdWcIPow6kBpgRayHgFuOG4xSBtcLD7Bd9YHhE,2413
58
59
  hk_cdp/models/db_models/trade/trade_status_info_model.py,sha256=R8HaCRRmXIa76ZWajW6YcdAxbPZPKiDDPLszUkD2azc,1946
59
60
  hk_cdp/models/db_models/tt/__init__.py,sha256=udhmTaFhq9P2bisJyTJiIwebDMEzc-HqBZdGmARZIEQ,136
@@ -66,8 +67,8 @@ hk_cdp/models/db_models/user/__init__.py,sha256=O_F1_TiR_075ATAHcahxTKJwUdYeY-Qz
66
67
  hk_cdp/models/db_models/user/user_data_model.py,sha256=hswh3ELJtBilEgzr7W6MfmaWsnSr93oO0nizbbPeRAk,2757
67
68
  hk_cdp/models/db_models/user/user_info_model.py,sha256=TywpvlFGkch9hO_szyhin-ed4xfTWBM7L59IU96SfxU,4138
68
69
  hk_cdp/models/db_models/user/user_trends_model.py,sha256=oxJCBnJQEvFr1_heV_cxRrPIic6_oSoLqARc6ldp2LM,1592
69
- hk_cdp-1.0.108.dist-info/LICENSE,sha256=hKHSuDoDoyOk6vOrpkYnOXZ640PvhUa-BTQbRRtFsUk,1061
70
- hk_cdp-1.0.108.dist-info/METADATA,sha256=Bh0S-fVnEECjabw7rqSwVo4M0aI60e6dNncVloGAuPk,7102
71
- hk_cdp-1.0.108.dist-info/WHEEL,sha256=g4nMs7d-Xl9-xC9XovUrsDHGXt-FT0E17Yqo92DEfvY,92
72
- hk_cdp-1.0.108.dist-info/top_level.txt,sha256=omzIr_m5qnzhfcdscOVr4P4JUB49wlP6KztqvlqDntw,7
73
- hk_cdp-1.0.108.dist-info/RECORD,,
70
+ hk_cdp-1.0.110.dist-info/LICENSE,sha256=hKHSuDoDoyOk6vOrpkYnOXZ640PvhUa-BTQbRRtFsUk,1061
71
+ hk_cdp-1.0.110.dist-info/METADATA,sha256=thO2Xy7el_9IqrnsGCZiZpc8PlbOZgZMhjM4RPPcu8Y,7102
72
+ hk_cdp-1.0.110.dist-info/WHEEL,sha256=g4nMs7d-Xl9-xC9XovUrsDHGXt-FT0E17Yqo92DEfvY,92
73
+ hk_cdp-1.0.110.dist-info/top_level.txt,sha256=omzIr_m5qnzhfcdscOVr4P4JUB49wlP6KztqvlqDntw,7
74
+ hk_cdp-1.0.110.dist-info/RECORD,,