hk-cdp 1.0.91__py3-none-any.whl → 1.0.93__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.
- hk_cdp/models/db_models/analysis/analysis_goods_repurchase_model.py +3 -3
- hk_cdp/models/db_models/store/store_base_model.py +2 -1
- {hk_cdp-1.0.91.dist-info → hk_cdp-1.0.93.dist-info}/METADATA +1 -1
- {hk_cdp-1.0.91.dist-info → hk_cdp-1.0.93.dist-info}/RECORD +7 -7
- {hk_cdp-1.0.91.dist-info → hk_cdp-1.0.93.dist-info}/LICENSE +0 -0
- {hk_cdp-1.0.91.dist-info → hk_cdp-1.0.93.dist-info}/WHEEL +0 -0
- {hk_cdp-1.0.91.dist-info → hk_cdp-1.0.93.dist-info}/top_level.txt +0 -0
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"""
|
|
3
3
|
@Author: HuangJianYi
|
|
4
4
|
@Date: 2024-12-31 11:25:23
|
|
5
|
-
@LastEditTime: 2025-07-15
|
|
5
|
+
@LastEditTime: 2025-07-15 19:08:55
|
|
6
6
|
@LastEditors: HuangJianYi
|
|
7
7
|
@Description:
|
|
8
8
|
"""
|
|
@@ -48,11 +48,11 @@ class AnalysisGoodsRepurchase:
|
|
|
48
48
|
self.today_expired_count = 0 # 今日到期未购买人数
|
|
49
49
|
self.recent_7days_expired_count = 0 # 近7日到期未购买人数
|
|
50
50
|
self.stat_date = 0 # 统计时间(20241231)
|
|
51
|
-
self.
|
|
51
|
+
self.create_date = '1970-01-01 00:00:00.000' # 创建时间
|
|
52
52
|
|
|
53
53
|
@classmethod
|
|
54
54
|
def get_field_list(self):
|
|
55
|
-
return ['id', 'business_id', 'platform_id', 'store_id', 'goods_id', 'total_sales', 'buyer_count', 'repurchase_count', 'repurchase_rate', 'avg_purchase_times', 'avg_repurchase_cycle', 'today_expired_count', 'recent_7days_expired_count', 'stat_date', '
|
|
55
|
+
return ['id', 'business_id', 'platform_id', 'store_id', 'goods_id', 'total_sales', 'buyer_count', 'repurchase_count', 'repurchase_rate', 'avg_purchase_times', 'avg_repurchase_cycle', 'today_expired_count', 'recent_7days_expired_count', 'stat_date', 'create_date']
|
|
56
56
|
|
|
57
57
|
@classmethod
|
|
58
58
|
def get_primary_key(self):
|
|
@@ -40,13 +40,14 @@ class StoreBase:
|
|
|
40
40
|
self.init_growth_config = {} # 初始成长值配置
|
|
41
41
|
self.incr_process_start_date = "1970-01-01 00:00:00.000" # 增量处理时间
|
|
42
42
|
self.is_omid_merge = 0 # 是否走omid合并逻辑(1-是 0-否)
|
|
43
|
+
self.is_statk_work = 0 # 是否开启作业服务(1-是 0-否)
|
|
43
44
|
self.create_date = "1970-01-01 00:00:00.000" # 创建时间
|
|
44
45
|
self.modify_date = "1970-01-01 00:00:00.000" # 修改时间
|
|
45
46
|
|
|
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', 'incr_process_start_date', 'is_omid_merge', 'is_statk_work', 'create_date', 'modify_date']
|
|
50
51
|
|
|
51
52
|
@classmethod
|
|
52
53
|
def get_primary_key(self):
|
|
@@ -14,7 +14,7 @@ hk_cdp/models/enum.py,sha256=0-kP-3RguGLZXHaamyBqlQMSNGOOH09yqksrz-o8ZrE,2381
|
|
|
14
14
|
hk_cdp/models/db_models/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
15
15
|
hk_cdp/models/db_models/analysis/__init__.py,sha256=IpZEFGpkWi_f826jxDE3qsGHtRi4bBQpAL_Vmi5FSWY,259
|
|
16
16
|
hk_cdp/models/db_models/analysis/analysis_goods_related_model.py,sha256=xG-eOeloVsFVZdn2TDyqiHHd2nZummVyUFmkqayIKAY,2116
|
|
17
|
-
hk_cdp/models/db_models/analysis/analysis_goods_repurchase_model.py,sha256
|
|
17
|
+
hk_cdp/models/db_models/analysis/analysis_goods_repurchase_model.py,sha256=-ZpLq7KWhb1z8aOXGxr2eqMrAKP_KATR7vfsx41Fn70,2424
|
|
18
18
|
hk_cdp/models/db_models/analysis/analysis_report_model.py,sha256=Iof44KQYOyi-J5-0771q8qvvnarsX17jLFGiry_ybR4,2010
|
|
19
19
|
hk_cdp/models/db_models/cap/__init__.py,sha256=QsbOTFmhrR2g4CCwzXfpcoqWeVdGU-gS7wMt8NzUnFw,218
|
|
20
20
|
hk_cdp/models/db_models/cap/cap_business_info_model.py,sha256=GnRMcS2n1bHgNIELHsLZ5zUZTdLgmThNDLYZea6jV-0,1616
|
|
@@ -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=
|
|
43
|
+
hk_cdp/models/db_models/store/store_base_model.py,sha256=NxQX6jpQkqszh53egMf22fTvDZx3DELnRLV7vZGIkrw,2251
|
|
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=WLzJwH-mPE02FCbB8WCZJxdlPZvBuqv6lLHrVNM-tsc,35
|
|
@@ -66,8 +66,8 @@ hk_cdp/models/db_models/user/__init__.py,sha256=O_F1_TiR_075ATAHcahxTKJwUdYeY-Qz
|
|
|
66
66
|
hk_cdp/models/db_models/user/user_data_model.py,sha256=Z8Hr9xarLXvlKWKV0o25KVVVJiiOVyLOwYY7KfNLDrs,2742
|
|
67
67
|
hk_cdp/models/db_models/user/user_info_model.py,sha256=TywpvlFGkch9hO_szyhin-ed4xfTWBM7L59IU96SfxU,4138
|
|
68
68
|
hk_cdp/models/db_models/user/user_trends_model.py,sha256=oxJCBnJQEvFr1_heV_cxRrPIic6_oSoLqARc6ldp2LM,1592
|
|
69
|
-
hk_cdp-1.0.
|
|
70
|
-
hk_cdp-1.0.
|
|
71
|
-
hk_cdp-1.0.
|
|
72
|
-
hk_cdp-1.0.
|
|
73
|
-
hk_cdp-1.0.
|
|
69
|
+
hk_cdp-1.0.93.dist-info/LICENSE,sha256=hKHSuDoDoyOk6vOrpkYnOXZ640PvhUa-BTQbRRtFsUk,1061
|
|
70
|
+
hk_cdp-1.0.93.dist-info/METADATA,sha256=8RAI8bY-11HirSvj5J2iqf0bIzLtwpCHMyrfWiHR3Ks,7101
|
|
71
|
+
hk_cdp-1.0.93.dist-info/WHEEL,sha256=g4nMs7d-Xl9-xC9XovUrsDHGXt-FT0E17Yqo92DEfvY,92
|
|
72
|
+
hk_cdp-1.0.93.dist-info/top_level.txt,sha256=omzIr_m5qnzhfcdscOVr4P4JUB49wlP6KztqvlqDntw,7
|
|
73
|
+
hk_cdp-1.0.93.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|