select id, uid, consumptiontype, consumptiontime, consumptionmoney, reamk, beformoney, aftermoney, nowmoney, created_at, updated_at, deleted_at, del from user_memner_consumption_log insert into user_memner_consumption_log uid, consumptiontype, consumptiontime, consumptionmoney, reamk, beformoney, aftermoney, nowmoney, deleted_at, del, created_at, updated_at #{uid}, #{consumptiontype}, #{consumptiontime}, #{consumptionmoney}, #{reamk}, #{beformoney}, #{aftermoney}, #{nowmoney}, #{deletedAt}, #{del}, NOW(), NOW() update user_memner_consumption_log uid = #{uid}, consumptiontype = #{consumptiontype}, consumptiontime = #{consumptiontime}, consumptionmoney = #{consumptionmoney}, reamk = #{reamk}, beformoney = #{beformoney}, aftermoney = #{aftermoney}, nowmoney = #{nowmoney}, updated_at = NOW(), deleted_at = #{deletedAt}, del = #{del}, where id = #{id} delete from user_memner_consumption_log where id = #{id} delete from user_memner_consumption_log where id in #{id}