select id, client_id, swap_size_free, untilzation, swap_size_percent, available, percent, total, create_by, update_by, create_time, update_time from initial_memory_info insert IGNORE into initial_memory_info client_id, swap_size_free, untilzation, swap_size_percent, available, percent, total, create_by, update_by, create_time, update_time, #{clientId}, #{swapSizeFree}, #{untilzation}, #{swapSizePercent}, #{available}, #{percent}, #{total}, #{createBy}, #{updateBy}, #{createTime}, #{updateTime}, update initial_memory_info client_id = #{clientId}, swap_size_free = #{swapSizeFree}, untilzation = #{untilzation}, swap_size_percent = #{swapSizePercent}, available = #{available}, percent = #{percent}, total = #{total}, create_by = #{createBy}, update_by = #{updateBy}, create_time = #{createTime}, update_time = #{updateTime}, where id = #{id} delete from initial_memory_info where id = #{id} delete from initial_memory_info where id in #{id} INSERT IGNORE INTO initial_memory_info ( client_id, swap_size_free, untilzation, swap_size_percent, available, percent, total, create_by, update_by, create_time, update_time ) VALUES ( #{item.clientId}, #{item.swapSizeFree}, #{item.untilzation}, #{item.swapSizePercent}, #{item.available}, #{item.percent}, #{item.total}, #{item.createBy}, #{item.updateBy}, #{item.createTime} NOW() , #{item.updateTime} NOW() )