select id, user_id, dd_id, type, create_time, update_time, remark, change, current_balance from wallet_transaction insert into wallet_transaction user_id, dd_id, type, create_time, update_time, remark, change, current_balance, #{userId}, #{ddId}, #{type}, #{createTime}, #{updateTime}, #{remark}, #{change}, #{currentBalance}, update wallet_transaction user_id = #{userId}, dd_id = #{ddId}, type = #{type}, create_time = #{createTime}, update_time = #{updateTime}, remark = #{remark}, change = #{change}, current_balance = #{currentBalance}, where id = #{id} delete from wallet_transaction where id = #{id} delete from wallet_transaction where id in #{id}