UPDATE sup_product enterpriseId=#{enterpriseId}, recordCode=#{recordCode}, recordProductName=#{recordProductName}, productManageType=#{productManageType}, recordPeopleName=#{recordPeopleName}, recordPeopleArea=#{recordPeopleArea}, recordPeopleAreaCode=#{recordPeopleAreaCode}, recordPeopleAddress=#{recordPeopleAddress}, productType=#{productType}, productDirectoryCode=#{productDirectoryCode}, agentName=#{agentName}, agentArea=#{agentArea}, agentAreaCode=#{agentAreaCode}, agentAddress=#{agentAddress}, instructions=#{instructions}, productAddress=#{productAddress}, recordText=#{recordText}, placeOrigin=#{placeOrigin}, productionRegion=#{productionRegion}, productionCompanyName=#{productionCompanyName}, afterSale=#{afterSale}, specification=#{specification}, structure=#{structure}, scope=#{scope}, other=#{other}, filePath=#{filePath}, remark=#{remark}, createTime=#{createTime}, updateTime=#{updateTime}, manufacturerIdFk=#{manufacturerIdFk}, customerId=#{customerId}, productId=#{productId}, auditStatus=#{auditStatus}, auditComment=#{auditComment}, sptm=#{sptm}, ybbm=#{ybbm}, measname=#{measname}, hchzsb=#{hchzsb}, relIdFk=#{relIdFk}, manufactory=#{manufactory}, allowNoBatch=#{allowNoBatch}, allowNoExpire=#{allowNoExpire}, allowNoProduct=#{allowNoProduct}, allowNoSerial=#{allowNoSerial}, WHERE id = #{id} replace INTO sup_product(enterpriseId, recordCode, recordProductName, productManageType, recordPeopleName, recordPeopleArea, recordPeopleAreaCode, recordPeopleAddress, productType, productDirectoryCode, agentName, agentArea, agentAreaCode, agentAddress, instructions, productAddress, recordText, placeOrigin, productionRegion, productionCompanyName, afterSale, specification, structure, `scope`, other, filePath, remark, createTime, updateTime, manufacturerIdFk, customerId, productId , auditStatus, auditComment, sptm, ybbm, measname, hchzsb, relIdFk, manufactory, allowNoBatch, allowNoExpire, allowNoProduct, allowNoSerial) values (#{enterpriseId}, #{recordCode}, #{recordProductName}, #{productManageType}, #{recordPeopleName}, #{recordPeopleArea}, #{recordPeopleAreaCode}, #{recordPeopleAddress}, #{productType}, #{productDirectoryCode}, #{agentName}, #{agentArea}, #{agentAreaCode}, #{agentAddress}, #{instructions}, #{productAddress}, #{recordText}, #{placeOrigin}, #{productionRegion}, #{productionCompanyName}, #{afterSale}, #{specification}, #{structure}, #{scope}, #{other}, #{filePath}, #{remark}, #{createTime}, #{updateTime}, #{manufacturerIdFk}, #{customerId}, #{productId} , #{auditStatus}, #{auditComment}, #{sptm}, #{ybbm}, #{measname}, #{hchzsb}, #{relIdFk}, #{manufactory}, #{allowNoBatch}, #{allowNoExpire}, #{allowNoProduct}, #{allowNoSerial}) DELETE FROM sup_product WHERE id = #{id} DELETE FROM sup_product WHERE enterpriseId = #{enterpriseId}