Selaa lähdekoodia

feat: 清除视频的功能

xdd 1 kuukausi sitten
vanhempi
commit
4390e5be61

+ 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>