From 71dc06e5bc66a247ac02ec5c2eceac8552b98c83 Mon Sep 17 00:00:00 2001 From: huangjiajun <582604932@qq.com> Date: Wed, 4 Sep 2024 16:52:20 +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/svc/svc_settle_center.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/svc/svc_settle_center.go b/app/svc/svc_settle_center.go index fd375e1..2939fb0 100644 --- a/app/svc/svc_settle_center.go +++ b/app/svc/svc_settle_center.go @@ -122,7 +122,7 @@ func SettleCenterInvoiceSave(c *gin.Context, req md.InvoiceReq) { return } data.PayState = 2 - engine.Where("id=?", data.Id).Cols("pay_sate").Update(data) + engine.Where("id=?", data.Id).Cols("pay_state").Update(data) NewMediumInvoiceDb := implement.NewMediumInvoiceDb(engine) invoice, _ := NewMediumInvoiceDb.GetMediumInvoice(data.Id) if invoice == nil {