Commit 4ae72b08 by 岳巧源

modify default value

parent 4b1c51fd
Showing with 12 additions and 12 deletions
......@@ -27,11 +27,11 @@ def migrate_from_lie_scm_order():
}
frq_id = ""
erp_sn = ""
seller_uid = ""
seller_uid = "0"
seller_name = ""
purchase_sn = ""
erp_purchase_sn = ""
company_id = ""
company_id = "0"
company_name = ""
#先获取scm的主键还有 purchase_item_id
sql1 = "select scm_order_item_id, purchase_item_id, purchase_id, goods_id, goods_sn, goods_name, brand_id, brand_name, supplier_id, supplier_name, warehouse_receipt_sn, in_qty, goods_number, stock_in_status, create_name, shipping_id, create_uid, shipment_number, shipping_name, create_time, update_time, purchase_uid, purchase_name, purchase_item_id from lie_scm_order"
......@@ -140,24 +140,24 @@ def migrate_from_stock_in_item():
}
frq_id = ""
purchase_id = ""
stock_in_item_id = ""
goods_id = ""
stock_in_item_id = "0"
goods_id = "0"
goods_sn = ""
goods_name = ""
brand_id = ""
brand_id = "0"
brand_name = ""
warehouse_receipt_sn = ""
in_qty = ""
out_qty = ""
create_time = ""
update_time = ""
purchase_item_id = ""
in_qty = "0"
out_qty = "0"
create_time = "0"
update_time = "0"
purchase_item_id = "0"
erp_sn = ""
seller_uid = ""
seller_uid = "0"
seller_name = ""
purchase_sn = ""
erp_purchase_sn = ""
company_id = ""
company_id = "0"
company_name = ""
sql1 = "select stock_in_id, supplier_id, supplier_name, status, create_name, shipping_id, create_uid, shipment_number, shipping_name, purchase_uid, purchase_name from lie_stock_in where stock_in_type in (1, 2)"
sql2 = "select frq_id, purchase_id, stock_in_item_id, goods_id, goods_sn, goods_name, brand_id, brand_name, warehouse_receipt_sn, in_qty, out_qty, create_time, update_time, purchase_item_id from lie_stock_in_items where stock_in_id = "
......
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