update MATERIALSPEC set IS_BATCH = #{dto.isBatch}, EXPIRATION_RULES = #{dto.expirationRules} where SITENAME = #{dto.siteName} and MATERIALSPECNAME = #{dto.materialSpecName}