From 7f352fd00d2b955f5f8d95203265c8d8a63e2136 Mon Sep 17 00:00:00 2001 From: lwl0608 Date: Sun, 21 Jan 2024 12:37:46 +0800 Subject: [PATCH] keyword --- app/mix/dao/mysql.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/mix/dao/mysql.go b/app/mix/dao/mysql.go index d5f7b9da..de401b3c 100644 --- a/app/mix/dao/mysql.go +++ b/app/mix/dao/mysql.go @@ -771,7 +771,7 @@ func (m *Mysql) GetWithdrawOrdersByMid(ctx *gin.Context, tx *sqlx.Tx, mid, st, e func (m *Mysql) CreateWithdrawDiamondsHis(ctx *gin.Context, tx *sqlx.Tx, h *dbstruct.WithdrawDiamondsHis) error { var err error sqlStr := "insert into " + TableWithdrawDiamondsHis + - " (mid, income_ch_id, order_id, ct, before_withdraw_diamonds, after_withdraw_diamonds, change) " + + " (mid, income_ch_id, order_id, ct, before_withdraw_diamonds, after_withdraw_diamonds, `change`) " + " values (?,?,?,?,?,?,?) " if tx != nil { _, err = tx.ExecContext(ctx, sqlStr,