sql5="select id from lie_shipping_intermediate_data where purchase_item_id = "+"'"+str(purchase_item_id)+"'"+" and "+"warehouse_receipt_sn = "+"'"+str(warehouse_receipt_sn)+"'"
sql5="select id from lie_shipping_intermediate_data where purchase_item_id = "+"'"+str(purchase_item_id)+"'"+" and "+"warehouse_receipt_sn = "+"'"+str(warehouse_receipt_sn)+"'"+" and "+"source_type = "+"2"
sql5="select id from lie_shipping_intermediate_data where purchase_item_id = "+"'"+str(purchase_item_id)+"'"+" and "+"warehouse_receipt_sn = "+"'"+str(warehouse_receipt_sn)+"'"
sql5="select id from lie_shipping_intermediate_data where purchase_item_id = "+"'"+str(purchase_item_id)+"'"+" and "+"warehouse_receipt_sn = "+"'"+str(warehouse_receipt_sn)+"'"+" and "+"source_type = "+"2"