Administrator 1 éve
szülő
commit
d6b7e1f3c1

+ 4 - 4
ruoyi-system/src/main/resources/mapper/system/BomanAnnexMapper.xml

@@ -90,10 +90,10 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
         <trim prefix="SET" suffixOverrides=",">
             <if test="annexUrl != null and annexUrl != ''">annex_url = #{annexUrl},</if>
             <if test="annexName != null and annexName != ''">annex_name = #{annexName},</if>
-            <if test="annexVoid != null and annexVoid != ''">annex_void = #{annexVoid},</if>
-            <if test="annexVoidName != null and annexVoidName != ''">annex_void_name = #{annexVoidName},</if>
-            <if test="annexImage != null and annexImage != ''">annex_image = #{annexImage},</if>
-            <if test="annexImageName != null and annexImageName != ''">annex_image_name = #{annexImageName},</if>
+            <if test="annexVoid != null ">annex_void = #{annexVoid},</if>
+            <if test="annexVoidName != null ">annex_void_name = #{annexVoidName},</if>
+            <if test="annexImage != null ">annex_image = #{annexImage},</if>
+            <if test="annexImageName != null ">annex_image_name = #{annexImageName},</if>
             <if test="type != null">type = #{type},</if>
             <if test="dimension != null ">dimension = #{dimension},</if>
             <if test="keywords != null and keywords != ''">keywords = #{keywords},</if>