hk-cdp 1.0.124__py3-none-any.whl → 1.0.125__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/store/store_goods_model.py +10 -6
- {hk_cdp-1.0.124.dist-info → hk_cdp-1.0.125.dist-info}/METADATA +1 -1
- {hk_cdp-1.0.124.dist-info → hk_cdp-1.0.125.dist-info}/RECORD +6 -6
- {hk_cdp-1.0.124.dist-info → hk_cdp-1.0.125.dist-info}/LICENSE +0 -0
- {hk_cdp-1.0.124.dist-info → hk_cdp-1.0.125.dist-info}/WHEEL +0 -0
- {hk_cdp-1.0.124.dist-info → hk_cdp-1.0.125.dist-info}/top_level.txt +0 -0
|
@@ -1,3 +1,11 @@
|
|
|
1
|
+
# -*- coding: utf-8 -*-
|
|
2
|
+
"""
|
|
3
|
+
@Author: HuangJianYi
|
|
4
|
+
@Date: 2024-12-26 19:49:36
|
|
5
|
+
@LastEditTime: 2025-10-27 18:07:24
|
|
6
|
+
@LastEditors: HuangJianYi
|
|
7
|
+
@Description:
|
|
8
|
+
"""
|
|
1
9
|
from seven_framework.mysql import MySQLHelper
|
|
2
10
|
from seven_framework.base_model import *
|
|
3
11
|
from seven_cloudapp_frame.models.cache_model import *
|
|
@@ -30,18 +38,14 @@ class StoreGoods:
|
|
|
30
38
|
self.goods_pic = "" # 商品主图片
|
|
31
39
|
self.approve_status = "" # 商品状态
|
|
32
40
|
self.price = 0.0000 # 商品价格
|
|
41
|
+
self.goods_num = 0 # 商品件数
|
|
33
42
|
self.create_date = "1970-01-01 00:00:00.000" # 创建时间
|
|
34
43
|
self.modify_date = "1970-01-01 00:00:00.000" # 修改时间
|
|
35
44
|
self.is_delete = 0 # 是否删除
|
|
36
45
|
|
|
37
46
|
@classmethod
|
|
38
47
|
def get_field_list(self):
|
|
39
|
-
return [
|
|
40
|
-
'id', 'guid', 'business_id', 'store_id', 'platform_id', 'plat_store_id',
|
|
41
|
-
'cid', 'goods_id', 'goods_code', 'goods_name',
|
|
42
|
-
'goods_pic', 'approve_status', 'price',
|
|
43
|
-
'create_date', 'modify_date', 'is_delete'
|
|
44
|
-
]
|
|
48
|
+
return ['id', 'guid', 'business_id', 'store_id', 'platform_id', 'plat_store_id', 'cid', 'goods_id', 'goods_code', 'goods_name', 'goods_pic', 'approve_status', 'price', 'goods_num', 'create_date', 'modify_date', 'is_delete']
|
|
45
49
|
|
|
46
50
|
@classmethod
|
|
47
51
|
def get_primary_key(self):
|
|
@@ -41,7 +41,7 @@ hk_cdp/models/db_models/scheme/scheme_level_info_model.py,sha256=5wx2JFwvXYBmeSn
|
|
|
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=Vr-HFdxK4GkNob9Rv44sfotR0RY6cRSi6VEcWQTkths,259
|
|
43
43
|
hk_cdp/models/db_models/store/store_base_model.py,sha256=nIzMw2W_LpnqJhBFy-9UjEgycWKqHo0ajhXTejqqTtE,2243
|
|
44
|
-
hk_cdp/models/db_models/store/store_goods_model.py,sha256=
|
|
44
|
+
hk_cdp/models/db_models/store/store_goods_model.py,sha256=i02RToDrSye9kuym7s8tejL371jXWPIngwcF0xVsboc,2135
|
|
45
45
|
hk_cdp/models/db_models/store/store_goods_sku_model.py,sha256=BlOz4GgYnbbLvTUO3YpjR_RWeYbMSlKugtqBXlh7f3E,1926
|
|
46
46
|
hk_cdp/models/db_models/store/store_prefix_log_model.py,sha256=lJgN9S2_azswzUkrC8zpfV-uT_Mo3gOg1PvEtValVK8,1225
|
|
47
47
|
hk_cdp/models/db_models/sync/__init__.py,sha256=3yNTLEqN1lJDHTVXsvic3Yf7Io-jFDGkwDQKUAKYh-Q,63
|
|
@@ -70,8 +70,8 @@ hk_cdp/models/db_models/user/__init__.py,sha256=O_F1_TiR_075ATAHcahxTKJwUdYeY-Qz
|
|
|
70
70
|
hk_cdp/models/db_models/user/user_data_model.py,sha256=eH-fMdbxpo_l9Ci7TwlPbxREYq3DSSgr2hT0j_Nwwr4,2874
|
|
71
71
|
hk_cdp/models/db_models/user/user_info_model.py,sha256=TywpvlFGkch9hO_szyhin-ed4xfTWBM7L59IU96SfxU,4138
|
|
72
72
|
hk_cdp/models/db_models/user/user_trends_model.py,sha256=oxJCBnJQEvFr1_heV_cxRrPIic6_oSoLqARc6ldp2LM,1592
|
|
73
|
-
hk_cdp-1.0.
|
|
74
|
-
hk_cdp-1.0.
|
|
75
|
-
hk_cdp-1.0.
|
|
76
|
-
hk_cdp-1.0.
|
|
77
|
-
hk_cdp-1.0.
|
|
73
|
+
hk_cdp-1.0.125.dist-info/LICENSE,sha256=hKHSuDoDoyOk6vOrpkYnOXZ640PvhUa-BTQbRRtFsUk,1061
|
|
74
|
+
hk_cdp-1.0.125.dist-info/METADATA,sha256=3oMDxlE87uChEcn1AIijb6hbzTaAxG9ZLc4ABJG1hNA,7102
|
|
75
|
+
hk_cdp-1.0.125.dist-info/WHEEL,sha256=g4nMs7d-Xl9-xC9XovUrsDHGXt-FT0E17Yqo92DEfvY,92
|
|
76
|
+
hk_cdp-1.0.125.dist-info/top_level.txt,sha256=omzIr_m5qnzhfcdscOVr4P4JUB49wlP6KztqvlqDntw,7
|
|
77
|
+
hk_cdp-1.0.125.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|