Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
岳巧源
/
my-awesome-project
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
1227384f
authored
Jul 02, 2024
by
larosa
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
add new line
parent
5ec59bcc
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
2 deletions
migrate.py
migrate.py
View file @
1227384f
...
...
@@ -113,7 +113,6 @@ def migrate_from_lie_scm_order():
delete_sql
=
"delete from lie_shipping_intermediate_data where id = "
+
str
(
result5
[
0
][
0
])
+
" limit 1"
cursor
.
execute
(
delete_sql
)
db
.
commit
()
continue
#组合已存在 跳过插入
print
(
insert_sql
)
try
:
cursor
.
execute
(
insert_sql
)
...
...
@@ -224,7 +223,6 @@ def migrate_from_stock_in_item():
delete_sql
=
"delete from lie_shipping_intermediate_data where id = "
+
str
(
result5
[
0
][
0
])
+
" limit 1"
cursor
.
execute
(
delete_sql
)
db
.
commit
()
continue
#组合已存在 跳过插入
print
(
insert_sql
)
try
:
cursor
.
execute
(
insert_sql
)
...
...
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