From 04d64714060eda14c03d02671dfcad0799698051 Mon Sep 17 00:00:00 2001 From: huangjiajun <582604932@qq.com> Date: Wed, 4 Dec 2024 13:29:52 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/db/dbs_order.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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