Commit 1227384f by larosa

add new line

parent 5ec59bcc
Showing with 0 additions and 2 deletions
...@@ -113,7 +113,6 @@ def migrate_from_lie_scm_order(): ...@@ -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" delete_sql = "delete from lie_shipping_intermediate_data where id = " + str(result5[0][0]) + " limit 1"
cursor.execute(delete_sql) cursor.execute(delete_sql)
db.commit() db.commit()
continue #组合已存在 跳过插入
print(insert_sql) print(insert_sql)
try: try:
cursor.execute(insert_sql) cursor.execute(insert_sql)
...@@ -224,7 +223,6 @@ def migrate_from_stock_in_item(): ...@@ -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" delete_sql = "delete from lie_shipping_intermediate_data where id = " + str(result5[0][0]) + " limit 1"
cursor.execute(delete_sql) cursor.execute(delete_sql)
db.commit() db.commit()
continue #组合已存在 跳过插入
print(insert_sql) print(insert_sql)
try: try:
cursor.execute(insert_sql) cursor.execute(insert_sql)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment