select id,
tenant_key,
order_id,
currency_code,
transaction_id,
member_id,
platform_code,
balance,
quota,
coin_before,
coin_after,
currency_before,
currency_after,
exchange_type,
status,
create_by,
create_time,
update_by,
update_time,
step,
step_status
from ff_game_exchange_money
insert into ff_game_exchange_money
id,
tenant_key,
currency_code,
order_id,
transaction_id,
member_id,
platform_code,
balance,
quota,
coin_before,
coin_after,
currency_before,
currency_after,
exchange_type,
status,
create_by,
create_time,
update_by,
update_time,
step,
step_status,
#{id},
#{tenantKey},
#{currencyCode},
#{orderId},
#{transactionId},
#{memberId},
#{platformCode},
#{balance},
#{quota},
#{coinBefore},
#{coinAfter},
#{currencyBefore},
#{currencyAfter},
#{exchangeType},
#{status},
#{createBy},
#{createTime},
#{updateBy},
#{updateTime},
#{step},
#{stepStatus},
update ff_game_exchange_money
tenant_key = #{tenantKey},
currency_code = #{currencyCode},
order_id = #{orderId},
transaction_id = #{transactionId},
member_id = #{memberId},
platform_code = #{platformCode},
balance = #{balance},
quota = #{quota},
coin_before = #{coinBefore},
coin_after = #{coinAfter},
currency_before = #{currencyBefore},
currency_after = #{currencyAfter},
exchange_type = #{exchangeType},
status = #{status},
create_by = #{createBy},
create_time = #{createTime},
update_by = #{updateBy},
update_time = #{updateTime},
step = #{step},
step_status = #{stepStatus},
where id = #{id}
delete
from ff_game_exchange_money
where id = #{id}
delete from ff_game_exchange_money where id in
#{id}