zouxuan пре 2 година
родитељ
комит
7a46439619

+ 6 - 2
cooleshow-user/user-biz/src/main/resources/config/mybatis/ImGroupMapper.xml

@@ -28,8 +28,12 @@
             <if test="et.autoPassFlag != null">
                 auto_pass_flag_ = #{et.autoPassFlag},
             </if>
-            introduce_ = #{et.introduce},
-            memo_ = #{et.memo},
+            <if test="et.introduce != null and et.introduce != ''">
+                introduce_ = #{et.introduce},
+            </if>
+            <if test="et.memo != null and et.memo != ''">
+                memo_ = #{et.memo},
+            </if>
             update_time_ = NOW()
         </set>
         where id_ = #{et.id}