- order_Financial to order_financial

This commit is contained in:
gazebo
2019-04-13 09:33:46 +08:00
parent cc627da2a4
commit 53cc491a04

View File

@@ -28,9 +28,9 @@ func (c *OrderManager) SaveOrderFinancialInfo(order *model.OrderFinancial, opera
if operation == partner.UpdatedPeration {
// db := orm.NewOrm()
err = utils.CallFuncLogError(func() error {
_, err = dao.ExecuteSQL(db, "DELETE FROM order_Financial WHERE vendor_order_id = ? AND vendor_id = ?", order.VendorOrderID, order.VendorID)
_, err = dao.ExecuteSQL(db, "DELETE FROM order_financial WHERE vendor_order_id = ? AND vendor_id = ?", order.VendorOrderID, order.VendorID)
return err
}, "SaveOrderFinancialInfo delete order_Financial, orderID:%s", order.VendorOrderID)
}, "SaveOrderFinancialInfo delete order_financial, orderID:%s", order.VendorOrderID)
if err != nil {
return err
}