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
3ce95ab7
authored
Nov 27, 2024
by
岳巧源
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
skip unit
parent
acde9d13
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
crontab.py
crontab.py
View file @
3ce95ab7
...
...
@@ -213,7 +213,7 @@ def update_vc_attr(conf: dict):
"""
exists_attr
=
True
for
key
in
origin_attr_map
:
if
key
==
"unit"
:
if
key
==
"unit"
and
now_attr_map
[
key
]
==
""
:
continue
if
origin_attr_map
[
key
]
!=
now_attr_map
[
key
]:
update_sql1
=
"update lie_shop_attr set attr_id =
%
s, attr_name =
%
s, unit =
%
s, enum_value =
%
s, input_type =
%
s, is_required =
%
s, update_time =
%
s , is_mapping = 0 where id =
%
s"
...
...
@@ -403,7 +403,7 @@ def update_vc_ext_attr(conf):
"""
exists_attr
=
True
for
key
in
origin_attr_map
:
if
key
==
"unit"
:
if
key
==
"unit"
and
now_attr_map
[
key
]
==
""
:
continue
if
origin_attr_map
[
key
]
!=
now_attr_map
[
key
]:
update_sql1
=
"update lie_shop_attr set attr_id =
%
s, attr_name =
%
s, unit =
%
s, enum_value =
%
s, input_type =
%
s, is_required =
%
s, update_time =
%
s , is_mapping = 0 where id =
%
s"
...
...
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