Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
中
中电中采
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
ZGC_INDEX
中电中采
Commits
84eccdb7
Commit
84eccdb7
authored
Apr 07, 2021
by
rico.liu
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update
parent
debf712e
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
Excel数据处理func.py
Excel数据处理func.py
+3
-3
No files found.
Excel数据处理func.py
View file @
84eccdb7
...
...
@@ -1084,7 +1084,7 @@ def CheckPointParamsData(path):
except
:
print
(
index_
(
counter
,
1
),
end
=
'
%
'
)
if
row
[
'remark'
]
!=
'nan'
and
row
[
'remark'
]
!=
'None'
:
if
row
[
'remark'
]
!=
'nan'
and
row
[
'remark'
]
!=
'None'
and
row
[
'remark'
]
!=
'未匹配上产品'
:
continue
id_
=
row
[
'id'
]
...
...
@@ -1120,7 +1120,7 @@ def CheckPointParamsData(path):
except
:
print
(
index_
(
counter
,
1
),
end
=
'
%
'
)
if
row
[
'remark'
]
!=
'nan'
and
row
[
'remark'
]
!=
'None'
:
if
row
[
'remark'
]
!=
'nan'
and
row
[
'remark'
]
!=
'None'
and
row
[
'remark'
]
!=
'未匹配上产品'
:
continue
id_
=
int
(
row
[
'id'
])
...
...
@@ -1375,7 +1375,7 @@ def create_to_db(path,std_value_dict):
new_name_list
.
append
(
" "
)
continue
id_
=
str
(
row
[
'id'
])
id_
=
int
(
row
[
'id'
])
skuname
=
''
brandname
=
row
[
'zi_brandname'
]
cursor_zi_new
.
execute
(
f
"select id from p_brand where name = '{brandname}' and id not in (select distinct pid from p_brand)"
)
...
...
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