select id, projectid, generatingcapacity, year, month, windpower from projectplan insert into projectplan id, projectid, generatingcapacity, year, month, windpower, #{id}, #{projectid}, #{generatingcapacity}, #{year}, #{month}, #{windpower}, update projectplan projectid = #{projectid}, generatingcapacity = #{generatingcapacity}, year = #{year}, month = #{month}, windpower = #{windpower}, where id = #{id} delete from projectplan where id = #{id} delete from projectplan where id in #{id}