select windplant_no, model_no, pf_proc_time_am, pf_proc_time_pm, pf_day_proc_time, pf_month_proc_time, pf_type, para, mem, if_model_valid from pv_da_pf_para
insert into pv_da_pf_para
windplant_no,
model_no,
pf_proc_time_am,
pf_proc_time_pm,
pf_day_proc_time,
pf_month_proc_time,
pf_type,
para,
mem,
if_model_valid,
#{windplantNo},
#{modelNo},
#{pfProcTimeAm},
#{pfProcTimePm},
#{pfDayProcTime},
#{pfMonthProcTime},
#{pfType},
#{para},
#{mem},
#{ifModelValid},
update pv_da_pf_para
pf_proc_time_am = #{pfProcTimeAm},
pf_proc_time_pm = #{pfProcTimePm},
pf_day_proc_time = #{pfDayProcTime},
pf_month_proc_time = #{pfMonthProcTime},
pf_type = #{pfType},
para = #{para},
mem = #{mem},
if_model_valid = #{ifModelValid},
where windplant_no = #{windplantNo} and model_no = #{modelNo}
delete from pv_da_pf_para where windplant_no = #{windplantNo} and model_no = #{modelNo}