Explorar o código

商品编辑修改

linhui.li hai 2 semanas
pai
achega
13c3631826
Modificáronse 1 ficheiros con 1 adicións e 0 borrados
  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>