From 9abaa4323b4e7eaf052909b4218cba2d7ad5fc68 Mon Sep 17 00:00:00 2001 From: huangjiajun <582604932@qq.com> Date: Tue, 18 Jun 2024 09:06:47 +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/admin/svc/order/svc_order_list.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/admin/svc/order/svc_order_list.go b/app/admin/svc/order/svc_order_list.go index ed3dfb8..5d4dafa 100644 --- a/app/admin/svc/order/svc_order_list.go +++ b/app/admin/svc/order/svc_order_list.go @@ -423,7 +423,7 @@ func JudgePackageOrdOrdState(ord *model.Order) *model.Order { } if ordState != oldOrdState { ord.State = ordState - _, err2 := db.Db.Where("oid=?", ord.Oid).Cols("state").Update(&ord) + _, err2 := db.Db.Where("oid=?", ord.Oid).Cols("state").Update(ord) if err2 != nil { return ord }