select wp_no, project_no, project_name, project_issue, project_capacity, analog_no, bcr_no, stat_speed_time, month_bcr_no, year_bcr_no, area, units_number from windplantproject
insert into windplantproject
wp_no,
project_no,
project_name,
project_issue,
project_capacity,
analog_no,
bcr_no,
stat_speed_time,
month_bcr_no,
year_bcr_no,
area,
units_number,
#{wpNo},
#{projectNo},
#{projectName},
#{projectIssue},
#{projectCapacity},
#{analogNo},
#{bcrNo},
#{statSpeedTime},
#{monthBcrNo},
#{yearBcrNo},
#{area},
#{unitsNumber},
insert into windplantproject(project_no, wp_no, project_name, project_capacity, analog_no, stat_speed_time)
SELECT
#{item.projectNo},
#{item.wpNo},
#{item.projectName},
#{item.projectCapacity},
#{item.analogNo},
#{item.statSpeedTime}
FROM DUAL
update windplantproject
wp_no = #{wpNo},
project_name = #{projectName},
project_issue = #{projectIssue},
project_capacity = #{projectCapacity},
analog_no = #{analogNo},
bcr_no = #{bcrNo},
stat_speed_time = #{statSpeedTime},
month_bcr_no = #{monthBcrNo},
year_bcr_no = #{yearBcrNo},
area = #{area},
units_number = #{unitsNumber},
where project_no = #{projectNo}
delete from windplantproject where project_no = #{projectNo}
delete from windplantproject where project_no in
#{projectNo}
delete from windplantproject where wp_no = #{windplantNo}