Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
岳巧源
/
jd_data_process
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
c7df9ed1
authored
Oct 28, 2024
by
larosa
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
add ext attr
parent
28d46554
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
0 deletions
helper.py
helper.py
View file @
c7df9ed1
...
@@ -40,6 +40,7 @@ config_prod = {
...
@@ -40,6 +40,7 @@ config_prod = {
1 查找mysql中的platform = 1的数据,去redis中查到是否为拓展属性。
1 查找mysql中的platform = 1的数据,去redis中查到是否为拓展属性。
2 对比class_id 下面的attr_id 看是否存在redis中,存在就是拓展属性,否则就是非拓展。
2 对比class_id 下面的attr_id 看是否存在redis中,存在就是拓展属性,否则就是非拓展。
3 拓展属性 is_ext字段改为 2,否则改为1
3 拓展属性 is_ext字段改为 2,否则改为1
修正完属性之后,需要针对拓展属性和属性更新本地的参数数据。
"""
"""
def
handle_data
(
conf
:
dict
):
def
handle_data
(
conf
:
dict
):
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment