hk-cdp 1.0.108__tar.gz → 1.0.110__tar.gz
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.
- {hk_cdp-1.0.108 → hk_cdp-1.0.110}/PKG-INFO +1 -1
- {hk_cdp-1.0.108 → hk_cdp-1.0.110}/hk_cdp/models/db_models/cdp/cdp_work_info_model.py +3 -6
- hk_cdp-1.0.110/hk_cdp/models/db_models/trade/trade_mobile_queue_model.py +50 -0
- {hk_cdp-1.0.108 → hk_cdp-1.0.110}/hk_cdp.egg-info/PKG-INFO +1 -1
- {hk_cdp-1.0.108 → hk_cdp-1.0.110}/hk_cdp.egg-info/SOURCES.txt +1 -0
- {hk_cdp-1.0.108 → hk_cdp-1.0.110}/setup.py +1 -1
- {hk_cdp-1.0.108 → hk_cdp-1.0.110}/README.md +0 -0
- {hk_cdp-1.0.108 → hk_cdp-1.0.110}/hk_cdp/__init__.py +0 -0
- {hk_cdp-1.0.108 → hk_cdp-1.0.110}/hk_cdp/handler/__init__.py +0 -0
- {hk_cdp-1.0.108 → hk_cdp-1.0.110}/hk_cdp/handler/cdp_base.py +0 -0
- {hk_cdp-1.0.108 → hk_cdp-1.0.110}/hk_cdp/libs/__init__.py +0 -0
- {hk_cdp-1.0.108 → hk_cdp-1.0.110}/hk_cdp/libs/customize/__init__.py +0 -0
- {hk_cdp-1.0.108 → hk_cdp-1.0.110}/hk_cdp/libs/customize/asset_base_model.py +0 -0
- {hk_cdp-1.0.108 → hk_cdp-1.0.110}/hk_cdp/libs/customize/cdp_helper.py +0 -0
- {hk_cdp-1.0.108 → hk_cdp-1.0.110}/hk_cdp/libs/customize/rainbow_helper.py +0 -0
- {hk_cdp-1.0.108 → hk_cdp-1.0.110}/hk_cdp/libs/customize/tiktok_spi_helper.py +0 -0
- {hk_cdp-1.0.108 → hk_cdp-1.0.110}/hk_cdp/libs/customize/work_base_model.py +0 -0
- {hk_cdp-1.0.108 → hk_cdp-1.0.110}/hk_cdp/models/__init__.py +0 -0
- {hk_cdp-1.0.108 → hk_cdp-1.0.110}/hk_cdp/models/cdp_model.py +0 -0
- {hk_cdp-1.0.108 → hk_cdp-1.0.110}/hk_cdp/models/db_models/__init__.py +0 -0
- {hk_cdp-1.0.108 → hk_cdp-1.0.110}/hk_cdp/models/db_models/analysis/__init__.py +0 -0
- {hk_cdp-1.0.108 → hk_cdp-1.0.110}/hk_cdp/models/db_models/analysis/analysis_goods_related_model.py +0 -0
- {hk_cdp-1.0.108 → hk_cdp-1.0.110}/hk_cdp/models/db_models/analysis/analysis_goods_repurchase_model.py +0 -0
- {hk_cdp-1.0.108 → hk_cdp-1.0.110}/hk_cdp/models/db_models/analysis/analysis_report_model.py +0 -0
- {hk_cdp-1.0.108 → hk_cdp-1.0.110}/hk_cdp/models/db_models/cap/__init__.py +0 -0
- {hk_cdp-1.0.108 → hk_cdp-1.0.110}/hk_cdp/models/db_models/cap/cap_business_info_model.py +0 -0
- {hk_cdp-1.0.108 → hk_cdp-1.0.110}/hk_cdp/models/db_models/cap/cap_store_info_model.py +0 -0
- {hk_cdp-1.0.108 → hk_cdp-1.0.110}/hk_cdp/models/db_models/cdp/__init__.py +0 -0
- {hk_cdp-1.0.108 → hk_cdp-1.0.110}/hk_cdp/models/db_models/cdp/cdp_store_info_model.py +0 -0
- {hk_cdp-1.0.108 → hk_cdp-1.0.110}/hk_cdp/models/db_models/member/__init__.py +0 -0
- {hk_cdp-1.0.108 → hk_cdp-1.0.110}/hk_cdp/models/db_models/member/member_asset_log_model.py +0 -0
- {hk_cdp-1.0.108 → hk_cdp-1.0.110}/hk_cdp/models/db_models/member/member_asset_model.py +0 -0
- {hk_cdp-1.0.108 → hk_cdp-1.0.110}/hk_cdp/models/db_models/member/member_asset_valid_model.py +0 -0
- {hk_cdp-1.0.108 → hk_cdp-1.0.110}/hk_cdp/models/db_models/member/member_event_model.py +0 -0
- {hk_cdp-1.0.108 → hk_cdp-1.0.110}/hk_cdp/models/db_models/member/member_info_model.py +0 -0
- {hk_cdp-1.0.108 → hk_cdp-1.0.110}/hk_cdp/models/db_models/member/member_level_log_model.py +0 -0
- {hk_cdp-1.0.108 → hk_cdp-1.0.110}/hk_cdp/models/db_models/prefix/__init__.py +0 -0
- {hk_cdp-1.0.108 → hk_cdp-1.0.110}/hk_cdp/models/db_models/prefix/prefix_info_model.py +0 -0
- {hk_cdp-1.0.108 → hk_cdp-1.0.110}/hk_cdp/models/db_models/queue/__init__.py +0 -0
- {hk_cdp-1.0.108 → hk_cdp-1.0.110}/hk_cdp/models/db_models/queue/queue_work_log_model.py +0 -0
- {hk_cdp-1.0.108 → hk_cdp-1.0.110}/hk_cdp/models/db_models/scheme/__init__.py +0 -0
- {hk_cdp-1.0.108 → hk_cdp-1.0.110}/hk_cdp/models/db_models/scheme/scheme_growth_model.py +0 -0
- {hk_cdp-1.0.108 → hk_cdp-1.0.110}/hk_cdp/models/db_models/scheme/scheme_info_model.py +0 -0
- {hk_cdp-1.0.108 → hk_cdp-1.0.110}/hk_cdp/models/db_models/scheme/scheme_integral_model.py +0 -0
- {hk_cdp-1.0.108 → hk_cdp-1.0.110}/hk_cdp/models/db_models/scheme/scheme_level_info_model.py +0 -0
- {hk_cdp-1.0.108 → hk_cdp-1.0.110}/hk_cdp/models/db_models/scheme/scheme_level_model.py +0 -0
- {hk_cdp-1.0.108 → hk_cdp-1.0.110}/hk_cdp/models/db_models/store/__init__.py +0 -0
- {hk_cdp-1.0.108 → hk_cdp-1.0.110}/hk_cdp/models/db_models/store/store_base_model.py +0 -0
- {hk_cdp-1.0.108 → hk_cdp-1.0.110}/hk_cdp/models/db_models/store/store_goods_model.py +0 -0
- {hk_cdp-1.0.108 → hk_cdp-1.0.110}/hk_cdp/models/db_models/store/store_prefix_log_model.py +0 -0
- {hk_cdp-1.0.108 → hk_cdp-1.0.110}/hk_cdp/models/db_models/sync/__init__.py +0 -0
- {hk_cdp-1.0.108 → hk_cdp-1.0.110}/hk_cdp/models/db_models/sync/sync_user_data_model.py +0 -0
- {hk_cdp-1.0.108 → hk_cdp-1.0.110}/hk_cdp/models/db_models/taobao/__init__.py +0 -0
- {hk_cdp-1.0.108 → hk_cdp-1.0.110}/hk_cdp/models/db_models/taobao/taobao_rds_item_model.py +0 -0
- {hk_cdp-1.0.108 → hk_cdp-1.0.110}/hk_cdp/models/db_models/taobao/taobao_rds_refund_model.py +0 -0
- {hk_cdp-1.0.108 → hk_cdp-1.0.110}/hk_cdp/models/db_models/taobao/taobao_rds_trade_model.py +0 -0
- {hk_cdp-1.0.108 → hk_cdp-1.0.110}/hk_cdp/models/db_models/taobao/taobao_source_buyer_model.py +0 -0
- {hk_cdp-1.0.108 → hk_cdp-1.0.110}/hk_cdp/models/db_models/taobao/taobao_source_history_member_model.py +0 -0
- {hk_cdp-1.0.108 → hk_cdp-1.0.110}/hk_cdp/models/db_models/trade/__init__.py +0 -0
- {hk_cdp-1.0.108 → hk_cdp-1.0.110}/hk_cdp/models/db_models/trade/trade_give_info_model.py +0 -0
- {hk_cdp-1.0.108 → hk_cdp-1.0.110}/hk_cdp/models/db_models/trade/trade_info_model.py +0 -0
- {hk_cdp-1.0.108 → hk_cdp-1.0.110}/hk_cdp/models/db_models/trade/trade_order_model.py +0 -0
- {hk_cdp-1.0.108 → hk_cdp-1.0.110}/hk_cdp/models/db_models/trade/trade_status_info_model.py +0 -0
- {hk_cdp-1.0.108 → hk_cdp-1.0.110}/hk_cdp/models/db_models/tt/__init__.py +0 -0
- {hk_cdp-1.0.108 → hk_cdp-1.0.110}/hk_cdp/models/db_models/tt/tt_rds_item_model.py +0 -0
- {hk_cdp-1.0.108 → hk_cdp-1.0.110}/hk_cdp/models/db_models/tt/tt_rds_refund_model.py +0 -0
- {hk_cdp-1.0.108 → hk_cdp-1.0.110}/hk_cdp/models/db_models/tt/tt_rds_trade_model.py +0 -0
- {hk_cdp-1.0.108 → hk_cdp-1.0.110}/hk_cdp/models/db_models/tt/tt_source_buyer_model.py +0 -0
- {hk_cdp-1.0.108 → hk_cdp-1.0.110}/hk_cdp/models/db_models/tt/tt_source_history_member_model.py +0 -0
- {hk_cdp-1.0.108 → hk_cdp-1.0.110}/hk_cdp/models/db_models/user/__init__.py +0 -0
- {hk_cdp-1.0.108 → hk_cdp-1.0.110}/hk_cdp/models/db_models/user/user_data_model.py +0 -0
- {hk_cdp-1.0.108 → hk_cdp-1.0.110}/hk_cdp/models/db_models/user/user_info_model.py +0 -0
- {hk_cdp-1.0.108 → hk_cdp-1.0.110}/hk_cdp/models/db_models/user/user_trends_model.py +0 -0
- {hk_cdp-1.0.108 → hk_cdp-1.0.110}/hk_cdp/models/enum.py +0 -0
- {hk_cdp-1.0.108 → hk_cdp-1.0.110}/hk_cdp.egg-info/dependency_links.txt +0 -0
- {hk_cdp-1.0.108 → hk_cdp-1.0.110}/hk_cdp.egg-info/requires.txt +0 -0
- {hk_cdp-1.0.108 → hk_cdp-1.0.110}/hk_cdp.egg-info/top_level.txt +0 -0
- {hk_cdp-1.0.108 → hk_cdp-1.0.110}/setup.cfg +0 -0
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"""
|
|
3
3
|
@Author: HuangJianYi
|
|
4
4
|
@Date: 2024-11-06 09:39:45
|
|
5
|
-
@LastEditTime: 2025-
|
|
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"
|
|
@@ -61,6 +61,7 @@ hk_cdp/models/db_models/taobao/taobao_source_history_member_model.py
|
|
|
61
61
|
hk_cdp/models/db_models/trade/__init__.py
|
|
62
62
|
hk_cdp/models/db_models/trade/trade_give_info_model.py
|
|
63
63
|
hk_cdp/models/db_models/trade/trade_info_model.py
|
|
64
|
+
hk_cdp/models/db_models/trade/trade_mobile_queue_model.py
|
|
64
65
|
hk_cdp/models/db_models/trade/trade_order_model.py
|
|
65
66
|
hk_cdp/models/db_models/trade/trade_status_info_model.py
|
|
66
67
|
hk_cdp/models/db_models/tt/__init__.py
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{hk_cdp-1.0.108 → hk_cdp-1.0.110}/hk_cdp/models/db_models/analysis/analysis_goods_related_model.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{hk_cdp-1.0.108 → hk_cdp-1.0.110}/hk_cdp/models/db_models/member/member_asset_valid_model.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{hk_cdp-1.0.108 → hk_cdp-1.0.110}/hk_cdp/models/db_models/taobao/taobao_source_buyer_model.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{hk_cdp-1.0.108 → hk_cdp-1.0.110}/hk_cdp/models/db_models/tt/tt_source_history_member_model.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|