From 14d9aedc10aab341cd7ce6a123ae5588f429b144 Mon Sep 17 00:00:00 2001 From: DengBiao <2319963317@qq.com> Date: Tue, 19 Sep 2023 21:20:35 +0800 Subject: [PATCH] update --- app/db/db_self_support_for_school_ord.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/db/db_self_support_for_school_ord.go b/app/db/db_self_support_for_school_ord.go index c70f2ed..539ee4d 100644 --- a/app/db/db_self_support_for_school_ord.go +++ b/app/db/db_self_support_for_school_ord.go @@ -83,9 +83,9 @@ func (selfSupportForSchoolOrdOrdDb *SelfSupportForSchoolOrd) SelfSupportForSchoo err error ) if forceColums != nil { - affected, err = selfSupportForSchoolOrdOrdDb.Db.Where("out_trade_no=?", selfSupportForSchoolOrdOrdDb.OutOrderNo).Cols(forceColums...).Update(m) + affected, err = selfSupportForSchoolOrdOrdDb.Db.Where("out_order_no=?", selfSupportForSchoolOrdOrdDb.OutOrderNo).Cols(forceColums...).Update(m) } else { - affected, err = selfSupportForSchoolOrdOrdDb.Db.Where("out_trade_no=?", selfSupportForSchoolOrdOrdDb.OutOrderNo).Update(m) + affected, err = selfSupportForSchoolOrdOrdDb.Db.Where("out_order_no=?", selfSupportForSchoolOrdOrdDb.OutOrderNo).Update(m) } if err != nil { return 0, err