select windplant_no, company_no, loadarea_no, subcontrolarea_no, subregion_no, install_wtg, install_power, confirm_power, putinto_wtg, putinto_power, join_wtg, join_power, power, bs_p, bs_q, bs_v, bs_pf, run_wtg, stop_wtg, wtg_fault, total_energy, last_total_energy, today_energy, avg_wind_speed, avg_temperature, name, pathname, aliasname, description, stat_tag, dl_flag, gl_flag, xhjy_flag, site from windplant
insert into windplant
windplant_no,
company_no,
loadarea_no,
subcontrolarea_no,
subregion_no,
install_wtg,
install_power,
confirm_power,
putinto_wtg,
putinto_power,
join_wtg,
join_power,
power,
bs_p,
bs_q,
bs_v,
bs_pf,
run_wtg,
stop_wtg,
wtg_fault,
total_energy,
last_total_energy,
today_energy,
avg_wind_speed,
avg_temperature,
name,
pathname,
aliasname,
description,
stat_tag,
dl_flag,
gl_flag,
xhjy_flag,
site,
#{windplantNo},
#{companyNo},
#{loadareaNo},
#{subcontrolareaNo},
#{subregionNo},
#{installWtg},
#{installPower},
#{confirmPower},
#{putintoWtg},
#{putintoPower},
#{joinWtg},
#{joinPower},
#{power},
#{bsP},
#{bsQ},
#{bsV},
#{bsPf},
#{runWtg},
#{stopWtg},
#{wtgFault},
#{totalEnergy},
#{lastTotalEnergy},
#{todayEnergy},
#{avgWindSpeed},
#{avgTemperature},
#{name},
#{pathname},
#{aliasname},
#{description},
#{statTag},
#{dlFlag},
#{glFlag},
#{xhjyFlag},
#{site},
update windplant
company_no = #{companyNo},
loadarea_no = #{loadareaNo},
subcontrolarea_no = #{subcontrolareaNo},
subregion_no = #{subregionNo},
install_wtg = #{installWtg},
install_power = #{installPower},
confirm_power = #{confirmPower},
putinto_wtg = #{putintoWtg},
putinto_power = #{putintoPower},
join_wtg = #{joinWtg},
join_power = #{joinPower},
power = #{power},
bs_p = #{bsP},
bs_q = #{bsQ},
bs_v = #{bsV},
bs_pf = #{bsPf},
run_wtg = #{runWtg},
stop_wtg = #{stopWtg},
wtg_fault = #{wtgFault},
total_energy = #{totalEnergy},
last_total_energy = #{lastTotalEnergy},
today_energy = #{todayEnergy},
avg_wind_speed = #{avgWindSpeed},
avg_temperature = #{avgTemperature},
name = #{name},
pathname = #{pathname},
aliasname = #{aliasname},
description = #{description},
stat_tag = #{statTag},
dl_flag = #{dlFlag},
gl_flag = #{glFlag},
xhjy_flag = #{xhjyFlag},
site = #{site},
where windplant_no = #{windplantNo}
delete from windplant where windplant_no = #{windplantNo}