REPLACE
INTO productinfo
(
nameCode,packRatio,packLevel,bhxjsl,
bhzxxsbzsl,zxxsbzbhsydysl,bhxjcpbm,bzcj,thirdProductNo,addType,deviceRecordKey,isUseDy,thirdProductName,
cpmctymc,cplb,flbm,ggxh,qxlb,tyshxydm,ylqxzcrbarmc,zczbhhzbapzbh,ylqxzcrbarywmc,uuid,sjcpbm,versionNumber
,diType,scbssfbhph,scbssfbhxlh,scbssfbhscrq,scbssfbhsxrq,
ybbm,spmc,cphhhbh,cpms,cpbsbmtxmc,isNewest,updateTime
)
values
(
#{nameCode},
#{packRatio},
#{packLevel},
#{bhxjsl},
#{bhzxxsbzsl},
#{zxxsbzbhsydysl},
#{bhxjcpbm},
#{bzcj},
#{thirdProductNo},
#{addType},
#{deviceRecordKey},
#{isUseDy},
#{thirdProductName},
#{cpmctymc},
#{cplb},
#{flbm},
#{ggxh},
#{qxlb},
#{tyshxydm},
#{ylqxzcrbarmc},
#{zczbhhzbapzbh},
#{ylqxzcrbarywmc},
#{uuid},
#{sjcpbm},
#{versionNumber},
#{diType},
#{scbssfbhph},
#{scbssfbhxlh},
#{scbssfbhscrq},
#{scbssfbhsxrq},
#{ybbm},
#{spmc},
#{cphhhbh},
#{cpms},
#{cpbsbmtxmc},
#{isNewest},
#{updateTime}
)
DELETE
FROM productinfo
WHERE thirdProductNo = #{id}
DELETE FROM productinfo WHERE thirdProductNo in
#{item}
UPDATE productinfo
nameCode=#{nameCode},
packRatio=#{packRatio},
packLevel=#{packLevel},
bhxjsl=#{bhxjsl},
bhzxxsbzsl=#{bhzxxsbzsl},
zxxsbzbhsydysl=#{zxxsbzbhsydysl},
bhxjcpbm=#{bhxjcpbm},
bzcj=#{bzcj},
thirdProductNo=#{thirdProductNo},
addType=#{addType},
deviceRecordKey=#{deviceRecordKey},
isUseDy=#{isUseDy},
thirdProductName=#{thirdProductName},
cpmctymc=#{cpmctymc},
cplb=#{cplb},
flbm=#{flbm},
ggxh=#{ggxh},
qxlb=#{qxlb},
tyshxydm=#{tyshxydm},
ylqxzcrbarmc=#{ylqxzcrbarmc},
ylqxzcrbarywmc=#{ylqxzcrbarywmc},
uuid=#{uuid},
sjcpbm=#{sjcpbm},
versionNumber=#{versionNumber},
diType=#{diType},
isNewest=#{isNewest},
updateTime=#{updateTime},
WHERE id = #{id}
UPDATE productinfo
scbssfbhph=#{scbssfbhph},
scbssfbhxlh=#{scbssfbhxlh},
scbssfbhscrq=#{scbssfbhscrq},
scbssfbhsxrq=#{scbssfbhsxrq},
ybbm=#{ybbm},
spmc=#{spmc},
cphhhbh=#{cphhhbh},
cpms=#{cpms},
cpbsbmtxmc=#{cpbsbmtxmc},
isNewest=#{isNewest},
updateTime=#{updateTime},
WHERE uuid = #{uuid}