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