瀏覽代碼

商品编辑修改

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>