select id,
source_id,
tenant_key,
quota_type,
member_id,
platform_code,
currency_code,
is_out,
operation_type,
balance_before,
balance,
exchange_ratio,
exchange_money,
balance_after,
remark,
create_by,
create_time,
update_by,
update_time
from ff_tenant_game_quota_flow
insert into ff_tenant_game_quota_flow
id,
tenant_key,
quota_type,
member_id,
platform_code,
currency_code,
is_out,
operation_type,
balance_before,
balance,
exchange_ratio,
exchange_money,
balance_after,
remark,
create_by,
create_time,
update_by,
update_time,
source_id,
#{id},
#{tenantKey},
#{quotaType},
#{memberId},
#{platformCode},
#{currencyCode},
#{isOut},
#{operationType},
#{balanceBefore},
#{balance},
#{exchangeRatio},
#{exchangeMoney},
#{balanceAfter},
#{remark},
#{createBy},
#{createTime},
#{updateBy},
#{updateTime},
#{sourceId},
update ff_tenant_game_quota_flow
tenant_key = #{tenantKey},
quota_type = #{quotaType},
member_id = #{memberId},
platform_code = #{platformCode},
currency_code = #{currencyCode},
is_out = #{isOut},
operation_type = #{operationType},
balance_before = #{balanceBefore},
balance = #{balance},
exchange_ratio = #{exchangeRatio},
exchange_money = #{exchangeMoney},
balance_after = #{balanceAfter},
remark = #{remark},
create_by = #{createBy},
create_time = #{createTime},
update_by = #{updateBy},
update_time = #{updateTime},
source_id = #{sourceId},
where id = #{id}
delete
from ff_tenant_game_quota_flow
where id = #{id}
delete from ff_tenant_game_quota_flow where id in
#{id}