linhui.li преди 2 седмици
родител
ревизия
13c3631826
променени са 1 файла, в които са добавени 1 реда и са изтрити 0 реда
  1. 1 0
      py-goods/src/main/resources/mapper/SpuMapper.xml

+ 1 - 0
py-goods/src/main/resources/mapper/SpuMapper.xml

@@ -50,5 +50,6 @@
             <if test="updateTime!=null">update_time=#{updateTime},</if>
             <if test="properties!=null">properties=#{properties,jdbcType=OTHER,typeHandler=com.poyee.mapper.handler.JsonNodeTypeHandler}::json</if>
         </trim>
+        where id =#{id}
     </update>
 </mapper>