insert into jinhui_gold_coin_record
id,
user_id,
gold_coin,
community_id,
title,
remark,
type,
creation_time
values
#{item.id},
#{item.userId},
#{item.goldCoin},
#{item.communityId},
#{item.title},
#{item.remark},
#{item.type},
sysdate()
update jinhui_gold_coin_record
id=#{item.id},
user_id=#{item.userId},
gold_coin=#{item.goldCoin},
community_id=#{item.communityId},
title=#{item.title},
remark=#{item.remark},
type=#{item.type},
update_time=sysdate()
where id = #{item.id}
delete from jinhui_gold_coin_record where id=#{id}