select windplant_no, model_no, ef_proc_time_am, ef_proc_time_pm, ef_day_proc_time, ef_month_proc_time, ef_type, para, mem, if_model_valid from wf_da_ef_para
insert into wf_da_ef_para
windplant_no,
model_no,
ef_proc_time_am,
ef_proc_time_pm,
ef_day_proc_time,
ef_month_proc_time,
ef_type,
para,
mem,
if_model_valid,
#{windplantNo},
#{modelNo},
#{efProcTimeAm},
#{efProcTimePm},
#{efDayProcTime},
#{efMonthProcTime},
#{efType},
#{para},
#{mem},
#{ifModelValid},
update wf_da_ef_para
ef_proc_time_am = #{efProcTimeAm},
ef_proc_time_pm = #{efProcTimePm},
ef_day_proc_time = #{efDayProcTime},
ef_month_proc_time = #{efMonthProcTime},
ef_type = #{efType},
para = #{para},
mem = #{mem},
if_model_valid = #{ifModelValid},
where windplant_no = #{windplantNo} and model_no = #{modelNo}
delete from wf_da_ef_para where windplant_no = #{windplantNo} and model_no = #{modelNo}