- order_Financial to order_financial
This commit is contained in:
@@ -28,9 +28,9 @@ func (c *OrderManager) SaveOrderFinancialInfo(order *model.OrderFinancial, opera
|
|||||||
if operation == partner.UpdatedPeration {
|
if operation == partner.UpdatedPeration {
|
||||||
// db := orm.NewOrm()
|
// db := orm.NewOrm()
|
||||||
err = utils.CallFuncLogError(func() error {
|
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
|
return err
|
||||||
}, "SaveOrderFinancialInfo delete order_Financial, orderID:%s", order.VendorOrderID)
|
}, "SaveOrderFinancialInfo delete order_financial, orderID:%s", order.VendorOrderID)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
return err
|
return err
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user