Browse Source

商品编辑修改

linhui.li 1 week ago
parent
commit
13c3631826
1 changed files with 1 additions and 0 deletions
  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>