replace INTO basic_products (uuid, originUuid, nameCode, deviceRecordKey, packRatio, packLevel, packUnit, bhxjsl, bhzxxsbzsl, zxxsbzbhsydysl, bhxjcpbm, bzcj, cpmctymc, cplb, flbm, ggxh, qxlb, tyshxydm, ylqxzcrbarmc, zczbhhzbapzbh, ylqxzcrbarywmc, sydycpbs, sjcpbm, versionNumber, diType, ybbm, sptm, manufactory, measname, productType, scbssfbhph, scbssfbhxlh, scbssfbhscrq, scbssfbhsxrq, cpms, allowNoBatch, allowNoExpire, allowNoProduct, allowNoSerial, spmc, cplx, hchzsb, cpdls, price, basicPrductRemak1, basicPrductRemak2, basicPrductRemak3, basicPrductRemak4, basicPrductRemak5, basicPrductRemak6, basicPrductRemak7, basicPrductRemak8, updateTime) values (#{uuid}, #{originUuid}, #{nameCode}, #{deviceRecordKey}, #{packRatio}, #{packLevel}, #{packUnit}, #{bhxjsl}, #{bhzxxsbzsl }, #{zxxsbzbhsydysl}, #{bhxjcpbm}, #{bzcj}, #{cpmctymc}, #{cplb}, #{flbm}, #{ggxh}, #{qxlb}, #{tyshxydm}, #{ylqxzcrbarmc}, #{zczbhhzbapzbh}, #{ylqxzcrbarywmc}, #{sydycpbs}, #{sjcpbm}, #{versionNumber}, #{diType}, #{ybbm}, #{sptm}, #{manufactory}, #{measname}, #{productType}, #{scbssfbhph}, #{scbssfbhxlh}, #{scbssfbhscrq}, #{scbssfbhsxrq}, #{cpms}, #{allowNoBatch}, #{allowNoExpire}, #{allowNoProduct}, #{allowNoSerial}, #{spmc}, #{cplx}, #{hchzsb}, #{cpdls}, #{price}, #{basicPrductRemak1}, #{basicPrductRemak2}, #{basicPrductRemak3}, #{basicPrductRemak4}, #{basicPrductRemak5}, #{basicPrductRemak6}, #{basicPrductRemak7}, #{basicPrductRemak8}, #{updateTime}) replace INTO basic_products (id,uuid, originUuid, nameCode, deviceRecordKey, packRatio, packLevel, packUnit, bhxjsl, bhzxxsbzsl, zxxsbzbhsydysl, bhxjcpbm, bzcj, cpmctymc, cplb, flbm, ggxh, qxlb, tyshxydm, ylqxzcrbarmc, zczbhhzbapzbh, ylqxzcrbarywmc, sydycpbs, sjcpbm, versionNumber, diType, ybbm, sptm, manufactory, measname, productType, scbssfbhph, scbssfbhxlh, scbssfbhscrq, scbssfbhsxrq, cpms, allowNoBatch, allowNoExpire, allowNoProduct, allowNoSerial, spmc, cplx, hchzsb, cpdls, price, basicPrductRemak1, basicPrductRemak2, basicPrductRemak3, basicPrductRemak4, basicPrductRemak5, basicPrductRemak6, basicPrductRemak7, basicPrductRemak8, updateTime) values ( #{item.id}, #{item.uuid}, #{item.originUuid}, #{item.nameCode}, #{item.deviceRecordKey}, #{item.packRatio}, #{item.packLevel}, #{item.packUnit}, #{item.bhxjsl}, #{item.bhzxxsbzsl}, #{item.zxxsbzbhsydysl}, #{item.bhxjcpbm}, #{item.bzcj}, #{item.cpmctymc}, #{item.cplb}, #{item.flbm}, #{item.ggxh}, #{item.qxlb}, #{item.tyshxydm}, #{item.ylqxzcrbarmc}, #{item.zczbhhzbapzbh}, #{item.ylqxzcrbarywmc}, #{item.sydycpbs}, #{item.sjcpbm}, #{item.versionNumber}, #{item.diType}, #{item.ybbm}, #{item.sptm}, #{item.manufactory}, #{item.measname}, #{item.productType}, #{item.scbssfbhph}, #{item.scbssfbhxlh}, #{item.scbssfbhscrq}, #{item.scbssfbhsxrq}, #{item.cpms}, #{item.allowNoBatch}, #{item.allowNoExpire}, #{item.allowNoProduct}, #{item.allowNoSerial}, #{item.spmc}, #{item.cplx}, #{item.hchzsb}, #{item.cpdls}, #{item.price}, #{item.basicPrductRemak1}, #{item.basicPrductRemak2}, #{item.basicPrductRemak3}, #{item.basicPrductRemak4}, #{item.basicPrductRemak5}, #{item.basicPrductRemak6}, #{item.basicPrductRemak7}, #{item.basicPrductRemak8}, #{item.updateTime}) DELETE FROM basic_products WHERE id = #{id} DELETE FROM basic_products WHERE uuid = #{uuid} UPDATE basic_products originUuid=#{originUuid}, nameCode=#{nameCode}, deviceRecordKey=#{deviceRecordKey}, packRatio=#{packRatio}, packLevel=#{packLevel}, packUnit=#{packUnit}, bhxjsl=#{bhxjsl}, bhzxxsbzsl=#{bhzxxsbzsl}, zxxsbzbhsydysl=#{zxxsbzbhsydysl}, bhxjcpbm=#{bhxjcpbm}, bzcj=#{bzcj}, cpmctymc=#{cpmctymc}, cplb=#{cplb}, flbm=#{flbm}, ggxh=#{ggxh}, qxlb=#{qxlb}, tyshxydm=#{tyshxydm}, ylqxzcrbarmc=#{ylqxzcrbarmc}, zczbhhzbapzbh=#{zczbhhzbapzbh}, ylqxzcrbarywmc=#{ylqxzcrbarywmc}, sydycpbs=#{sydycpbs}, sjcpbm=#{sjcpbm}, versionNumber=#{versionNumber}, diType=#{diType}, ybbm=#{ybbm}, sptm=#{sptm}, manufactory=#{manufactory}, measname=#{measname}, productType=#{productType}, scbssfbhph=#{scbssfbhph}, scbssfbhxlh=#{scbssfbhxlh}, scbssfbhscrq=#{scbssfbhscrq}, scbssfbhsxrq=#{scbssfbhsxrq}, cpms=#{cpms}, allowNoBatch=#{allowNoBatch}, allowNoExpire=#{allowNoExpire}, allowNoProduct=#{allowNoProduct}, allowNoSerial=#{allowNoSerial}, updateTime=#{updateTime}, spmc=#{spmc}, cplx=#{cplx}, hchzsb=#{hchzsb}, cpdls=#{cpdls}, price=#{price}, basicPrductRemak1=#{basicPrductRemak1}, basicPrductRemak2=#{basicPrductRemak2}, basicPrductRemak3=#{basicPrductRemak3}, basicPrductRemak4=#{basicPrductRemak4}, basicPrductRemak5=#{basicPrductRemak5}, basicPrductRemak6=#{basicPrductRemak6}, basicPrductRemak7=#{basicPrductRemak7}, basicPrductRemak8=#{basicPrductRemak8}, WHERE nameCode = #{nameCode} and uuid = #{uuid} update basic_products originUuid=#{originUuid}, nameCode=#{nameCode}, deviceRecordKey=#{deviceRecordKey}, packRatio=#{packRatio}, packLevel=#{packLevel}, packUnit=#{packUnit}, bhxjsl=#{bhxjsl}, bhzxxsbzsl=#{bhzxxsbzsl}, zxxsbzbhsydysl=#{zxxsbzbhsydysl}, bhxjcpbm=#{bhxjcpbm}, bzcj=#{bzcj}, cpmctymc=#{cpmctymc}, cplb=#{cplb}, flbm=#{flbm}, ggxh=#{ggxh}, qxlb =#{qxlb}, tyshxydm=#{tyshxydm}, ylqxzcrbarmc=#{ylqxzcrbarmc}, zczbhhzbapzbh=#{zczbhhzbapzbh}, ylqxzcrbarywmc=#{ylqxzcrbarywmc}, sydycpbs=#{sydycpbs}, sjcpbm=#{sjcpbm}, versionNumber=#{versionNumber}, diType=#{diType}, ybbm=#{ybbm}, sptm=#{sptm}, manufactory=#{manufactory}, measname=#{measname}, productType=#{productType}, scbssfbhph=#{scbssfbhph}, scbssfbhxlh=#{scbssfbhxlh}, scbssfbhscrq=#{scbssfbhscrq}, scbssfbhsxrq=#{scbssfbhsxrq}, cpms=#{cpms}, allowNoBatch=#{allowNoBatch}, allowNoExpire=#{allowNoExpire}, allowNoProduct=#{allowNoProduct}, allowNoSerial=#{allowNoSerial}, spmc=#{spmc}, cplx=#{cplx}, hchzsb=#{hchzsb}, cpdls=#{cpdls}, price=#{price}, basicPrductRemak1=#{basicPrductRemak1}, basicPrductRemak2=#{basicPrductRemak2}, basicPrductRemak3=#{basicPrductRemak3}, basicPrductRemak4=#{basicPrductRemak4}, basicPrductRemak5=#{basicPrductRemak5}, basicPrductRemak6=#{basicPrductRemak6}, basicPrductRemak7=#{basicPrductRemak7}, basicPrductRemak8=#{basicPrductRemak8}, updateTime=#{updateTime}, where uuid = #{uuid} update basic_products originUuid=#{originUuid}, nameCode=#{nameCode}, deviceRecordKey=#{deviceRecordKey}, packRatio=#{packRatio}, packLevel=#{packLevel}, packUnit=#{packUnit}, bhxjsl=#{bhxjsl}, bhzxxsbzsl=#{bhzxxsbzsl}, zxxsbzbhsydysl=#{zxxsbzbhsydysl}, bhxjcpbm=#{bhxjcpbm}, bzcj=#{bzcj}, cpmctymc=#{cpmctymc}, cplb=#{cplb}, flbm=#{flbm}, ggxh=#{ggxh}, qxlb =#{qxlb}, tyshxydm=#{tyshxydm}, ylqxzcrbarmc=#{ylqxzcrbarmc}, zczbhhzbapzbh=#{zczbhhzbapzbh}, ylqxzcrbarywmc=#{ylqxzcrbarywmc}, sydycpbs=#{sydycpbs}, sjcpbm=#{sjcpbm}, versionNumber=#{versionNumber}, diType=#{diType}, ybbm=#{ybbm}, sptm=#{sptm}, manufactory=#{manufactory}, measname=#{measname}, productType=#{productType}, scbssfbhph=#{scbssfbhph}, scbssfbhxlh=#{scbssfbhxlh}, scbssfbhscrq=#{scbssfbhscrq}, scbssfbhsxrq=#{scbssfbhsxrq}, cpms=#{cpms}, allowNoBatch=#{allowNoBatch}, allowNoExpire=#{allowNoExpire}, allowNoProduct=#{allowNoProduct}, allowNoSerial=#{allowNoSerial}, spmc=#{spmc}, cplx=#{cplx}, hchzsb=#{hchzsb}, cpdls=#{cpdls}, price=#{price}, basicPrductRemak1=#{basicPrductRemak1}, basicPrductRemak2=#{basicPrductRemak2}, basicPrductRemak3=#{basicPrductRemak3}, basicPrductRemak4=#{basicPrductRemak4}, basicPrductRemak5=#{basicPrductRemak5}, basicPrductRemak6=#{basicPrductRemak6}, basicPrductRemak7=#{basicPrductRemak7}, basicPrductRemak8=#{basicPrductRemak8}, updateTime=#{updateTime}, where id = #{id} UPDATE basic_products packRatio=#{packRatio}, packLevel=#{packLevel}, bhxjsl=#{bhxjsl}, bhzxxsbzsl=#{bhzxxsbzsl}, zxxsbzbhsydysl=#{zxxsbzbhsydysl}, bhxjcpbm=#{bhxjcpbm}, bzcj=#{bzcj}, addType=#{addType}, deviceRecordKey=#{deviceRecordKey}, cpmctymc=#{cpmctymc}, cplb=#{cplb}, flbm=#{flbm}, ggxh=#{ggxh}, qxlb=#{qxlb}, tyshxydm=#{tyshxydm}, ylqxzcrbarmc=#{ylqxzcrbarmc}, ylqxzcrbarywmc=#{ylqxzcrbarywmc}, uuid=#{uuid}, sjcpbm=#{sjcpbm}, versionNumber=#{versionNumber}, sptm=#{sptm}, manufactory=#{manufactory}, ybbm=#{ybbm}, measname=#{measname}, diType=#{diType}, productType=#{productType}, scbssfbhph=#{scbssfbhph}, scbssfbhxlh=#{scbssfbhxlh}, scbssfbhscrq=#{scbssfbhscrq}, scbssfbhsxrq=#{scbssfbhsxrq}, cpms=#{cpms}, originUuid=#{originUuid}, spmc=#{spmc}, cpdls=#{cpdls}, basicPrductRemak1=#{basicPrductRemak1}, basicPrductRemak2=#{basicPrductRemak2}, basicPrductRemak3=#{basicPrductRemak3}, basicPrductRemak4=#{basicPrductRemak4}, basicPrductRemak5=#{basicPrductRemak5}, basicPrductRemak6=#{basicPrductRemak6}, basicPrductRemak7=#{basicPrductRemak7}, basicPrductRemak8=#{basicPrductRemak8}, WHERE uuid = #{uuid}