فهرست منبع

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>