select id, account, account_bank, actual_money, addtime, after_amount, auditby, before_amount, cash_out_biz_no, cash_out_order_id, cash_out_pay_order_id, cash_out_remark, cash_out_status, cash_type, guild_id, money, name, orderno, platform_service, reason, remarks, service, status, status_name, trade_no, type, uid, unit_type, uptime, votes from app_users_cashrecord
insert into app_users_cashrecord
id,
account,
account_bank,
actual_money,
addtime,
after_amount,
auditby,
before_amount,
cash_out_biz_no,
cash_out_order_id,
cash_out_pay_order_id,
cash_out_remark,
cash_out_status,
cash_type,
guild_id,
money,
name,
orderno,
platform_service,
reason,
remarks,
service,
status,
status_name,
trade_no,
type,
uid,
unit_type,
uptime,
votes,
#{id},
#{account},
#{accountBank},
#{actualMoney},
#{addtime},
#{afterAmount},
#{auditby},
#{beforeAmount},
#{cashOutBizNo},
#{cashOutOrderId},
#{cashOutPayOrderId},
#{cashOutRemark},
#{cashOutStatus},
#{cashType},
#{guildId},
#{money},
#{name},
#{orderno},
#{platformService},
#{reason},
#{remarks},
#{service},
#{status},
#{statusName},
#{tradeNo},
#{type},
#{uid},
#{unitType},
#{uptime},
#{votes},
update app_users_cashrecord
account = #{account},
account_bank = #{accountBank},
actual_money = #{actualMoney},
addtime = #{addtime},
after_amount = #{afterAmount},
auditby = #{auditby},
before_amount = #{beforeAmount},
cash_out_biz_no = #{cashOutBizNo},
cash_out_order_id = #{cashOutOrderId},
cash_out_pay_order_id = #{cashOutPayOrderId},
cash_out_remark = #{cashOutRemark},
cash_out_status = #{cashOutStatus},
cash_type = #{cashType},
guild_id = #{guildId},
money = #{money},
name = #{name},
orderno = #{orderno},
platform_service = #{platformService},
reason = #{reason},
remarks = #{remarks},
service = #{service},
status = #{status},
status_name = #{statusName},
trade_no = #{tradeNo},
type = #{type},
uid = #{uid},
unit_type = #{unitType},
uptime = #{uptime},
votes = #{votes},
where id = #{id}
delete from app_users_cashrecord where id = #{id}
delete from app_users_cashrecord where id in
#{id}