select wp_no, project_no, collectorwire_no, wire_name, wire_issue, wire_capacity, analog_no, bcr_no, stat_speed_time, units_number from collectorwireproject insert into collectorwireproject wp_no, project_no, collectorwire_no, wire_name, wire_issue, wire_capacity, analog_no, bcr_no, stat_speed_time, units_number, #{wpNo}, #{projectNo}, #{collectorwireNo}, #{wireName}, #{wireIssue}, #{wireCapacity}, #{analogNo}, #{bcrNo}, #{statSpeedTime}, #{unitsNumber}, insert into collectorwireproject(collectorwire_no, wp_no, project_no, wire_name, wire_capacity, analog_no, stat_speed_time) SELECT #{item.collectorwireNo}, #{item.wpNo}, #{item.projectNo}, #{item.wireName}, #{item.wireCapacity}, #{item.analogNo}, #{item.statSpeedTime} FROM DUAL update collectorwireproject wp_no = #{wpNo}, project_no = #{projectNo}, wire_name = #{wireName}, wire_issue = #{wireIssue}, wire_capacity = #{wireCapacity}, analog_no = #{analogNo}, bcr_no = #{bcrNo}, stat_speed_time = #{statSpeedTime}, units_number = #{unitsNumber}, where collectorwire_no = #{collectorwireNo} delete from collectorwireproject where collectorwire_no = #{collectorwireNo} delete from collectorwireproject where wp_no = #{windplantNo} delete from collectorwireproject where project_no = #{projectNo}