insert into psdc_electric_htdata(electric_htdata_id,device_id,update_time,use_deiffen,Ua,Ub,Uc,Ia,Ib,Ic,Pa,Pb,Pc,TotP,Qa,Qb,Qc,TotQ,PFa,PFb,PFc,TotPF,SupWh,RtlWh,SupQh,RtlQh,Sa,Sb,Sc,TotS, TotWh,TotWh_1,TotWh_2,TotWh_3,TotWh_4,HZ,Uab,Ubc,Uca,CombWh,CombQh) values (#{electricHtdataId},#{deviceId},#{updateTime},#{useDeiffen},#{ua},#{ub},#{uc},#{ia},#{ib},#{ic},#{pa},#{pb},#{pc},#{totp},#{qa},#{qb},#{qc},#{totq},#{pfa},#{pfb},#{pfc},#{totpf},#{supwh},#{rtlwh},#{supqh},#{rtlqh},#{sa},#{sb},#{sc},#{tots},#{ totwh},#{totwh1},#{totwh2},#{totwh3},#{totwh4},#{hz},#{uab},#{ubc},#{uca},#{combwh},#{combqh}) update psdc_electric_htdata electric_htdata_id = #{electricHtdataId}, device_id = #{deviceId}, update_time = #{updateTime}, use_deiffen = #{useDeiffen}, Ua = #{ua}, Ub = #{ub}, Uc = #{uc}, Ia = #{ia}, Ib = #{ib}, Ic = #{ic}, Pa = #{pa}, Pb = #{pb}, Pc = #{pc}, TotP = #{totp}, Qa = #{qa}, Qb = #{qb}, Qc = #{qc}, TotQ = #{totq}, PFa = #{pfa}, PFb = #{pfb}, PFc = #{pfc}, TotPF = #{totpf}, SupWh = #{supwh}, RtlWh = #{rtlwh}, SupQh = #{supqh}, RtlQh = #{rtlqh}, Sa = #{sa}, Sb = #{sb}, Sc = #{sc}, TotS = #{tots}, TotWh = #{totwh}, TotWh_1 = #{totwh1}, TotWh_2 = #{totwh2}, TotWh_3 = #{totwh3}, TotWh_4 = #{totwh4}, HZ = #{hz}, Uab = #{uab}, Ubc = #{ubc}, Uca = #{uca}, CombWh = #{combwh}, CombQh = #{combqh}, where electric_htdata_id = #{electricHtdataId} delete from psdc_electric_htdata where electric_htdata_id = #{electricHtdataId}