keyword
This commit is contained in:
parent
d1884ced69
commit
7f352fd00d
|
@ -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 {
|
func (m *Mysql) CreateWithdrawDiamondsHis(ctx *gin.Context, tx *sqlx.Tx, h *dbstruct.WithdrawDiamondsHis) error {
|
||||||
var err error
|
var err error
|
||||||
sqlStr := "insert into " + TableWithdrawDiamondsHis +
|
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 (?,?,?,?,?,?,?) "
|
" values (?,?,?,?,?,?,?) "
|
||||||
if tx != nil {
|
if tx != nil {
|
||||||
_, err = tx.ExecContext(ctx, sqlStr,
|
_, err = tx.ExecContext(ctx, sqlStr,
|
||||||
|
|
Loading…
Reference in New Issue