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 , sfwblztlcp, cgzmraqxgxx, sfbjwycxsy, zdcfsycs, sfwwjbz, syqsfxyjxmj, mjfs, categoryName, catalogname1, catalogname2, catalogname3, matrial, catalogCode1, catalogCode2, catalogCode3,requireCost) values (#{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} , #{sfwblztlcp}, #{cgzmraqxgxx}, #{sfbjwycxsy}, #{zdcfsycs}, #{sfwwjbz}, #{syqsfxyjxmj}, #{mjfs}, #{categoryName}, #{catalogname1}, #{catalogname2}, #{catalogname3}, #{matrial}, #{catalogCode1}, #{catalogCode2}, #{catalogCode3}, #{requireCost}) 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, sfwblztlcp, cgzmraqxgxx, sfbjwycxsy, zdcfsycs, sfwwjbz, syqsfxyjxmj, mjfs, categoryName) 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}, #{item.sfwblztlcp}, #{item.cgzmraqxgxx}, #{item.sfbjwycxsy}, #{item.zdcfsycs}, #{item.sfwwjbz}, #{item.syqsfxyjxmj}, #{item.mjfs}, #{item.categoryName}) 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}, sfwblztlcp=#{sfwblztlcp}, cgzmraqxgxx=#{cgzmraqxgxx}, sfbjwycxsy=#{sfbjwycxsy}, zdcfsycs=#{zdcfsycs}, sfwwjbz=#{sfwwjbz}, syqsfxyjxmj=#{syqsfxyjxmj}, mjfs=#{mjfs}, categoryName=#{categoryName}, bzgg=#{bzgg}, 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}, groupBuy=#{groupBuy}, updateTime=#{updateTime}, sfwblztlcp=#{sfwblztlcp}, cgzmraqxgxx=#{cgzmraqxgxx}, sfbjwycxsy=#{sfbjwycxsy}, zdcfsycs=#{zdcfsycs}, sfwwjbz=#{sfwwjbz}, syqsfxyjxmj=#{syqsfxyjxmj}, mjfs=#{mjfs}, categoryName=#{categoryName}, catalogname1=#{catalogname1}, catalogname2=#{catalogname2}, catalogname3=#{catalogname3}, catalogCode1=#{catalogCode1}, catalogCode2=#{catalogCode2}, catalogCode3=#{catalogCode3}, matrial=#{matrial}, remark=#{remark}, requireScanCode=#{requireScanCode}, requireCost=#{requireCost}, bzgg=#{bzgg}, 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}, sfwblztlcp=#{sfwblztlcp}, cgzmraqxgxx=#{cgzmraqxgxx}, sfbjwycxsy=#{sfbjwycxsy}, zdcfsycs=#{zdcfsycs}, sfwwjbz=#{sfwwjbz}, syqsfxyjxmj=#{syqsfxyjxmj}, mjfs=#{mjfs}, categoryName=#{categoryName}, catalogname1=#{catalogname1}, catalogname2=#{catalogname2}, catalogname3=#{catalogname3}, matrial=#{matrial}, catalogCode1=#{catalogCode1}, catalogCode2=#{catalogCode2}, catalogCode3=#{catalogCode3}, 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}, sfwblztlcp=#{sfwblztlcp}, cgzmraqxgxx=#{cgzmraqxgxx}, sfbjwycxsy=#{sfbjwycxsy}, zdcfsycs=#{zdcfsycs}, sfwwjbz=#{sfwwjbz}, syqsfxyjxmj=#{syqsfxyjxmj}, mjfs=#{mjfs}, categoryName=#{categoryName}, catalogname1=#{catalogname1}, catalogname2=#{catalogname2}, catalogname3=#{catalogname3}, matrial=#{matrial}, WHERE uuid = #{uuid}