浏览代码

feat: 清除视频的功能

xdd 1 月之前
父节点
当前提交
4390e5be61
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      fs-service-system/src/main/resources/mapper/store/FsStoreProductMapper.xml

+ 1 - 1
fs-service-system/src/main/resources/mapper/store/FsStoreProductMapper.xml

@@ -213,7 +213,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
         update fs_store_product
         <trim prefix="SET" suffixOverrides=",">
             <if test="image != null and image != ''">image = #{image},</if>
-            <if test="video != null and video != ''">video = #{video},</if>
+            <if test="video != null">video = #{video},</if>
             <if test="sliderImage != null and sliderImage != ''">slider_image = #{sliderImage},</if>
             <if test="productName != null and productName != ''">product_name = #{productName},</if>
             <if test="productInfo != null and productInfo != ''">product_info = #{productInfo},</if>