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,