select windplant_no, model_no, pf_proc_time, pf_day_proc_time, pf_month_proc_time, pf_type, para, mem, if_model_valid from wf_usp_pf_para
insert into wf_usp_pf_para
windplant_no,
model_no,
pf_proc_time,
pf_day_proc_time,
pf_month_proc_time,
pf_type,
para,
mem,
if_model_valid,
#{windplantNo},
#{modelNo},
#{pfProcTime},
#{pfDayProcTime},
#{pfMonthProcTime},
#{pfType},
#{para},
#{mem},
#{ifModelValid},
update wf_usp_pf_para
pf_proc_time = #{pfProcTime},
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 wf_usp_pf_para where windplant_no = #{windplantNo} and model_no = #{modelNo}