diff --git a/app/db/dbs_order.go b/app/db/dbs_order.go index b566508..7b2952c 100644 --- a/app/db/dbs_order.go +++ b/app/db/dbs_order.go @@ -49,7 +49,7 @@ func DbsOrderFindById(eg *xorm.Engine, pvd string, ids string) (*model.OrdList, } func DbsOrderUpdate(eg *xorm.Engine, id int64, ord *model.OrdList) error { - if _, err := eg.Where("`ord_id` = ?", id).Cols("wait_settle_at,parent_ord_id,reason,order_compare,state,paid_price,confirm_at,check_success_at,update_at,pvd_settle_at").Update(ord); err != nil { + if _, err := eg.Where("`ord_id` = ?", id).Cols("old_state,wait_settle_at,parent_ord_id,reason,order_compare,state,paid_price,confirm_at,check_success_at,update_at,pvd_settle_at").Update(ord); err != nil { return logx.Warn(err) } return nil