yonge 3 年之前
父节点
当前提交
40ec4f05d2
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      cooleshow-auth/auth-server/src/main/resources/config/mybatis/SysMenuMapper.xml

+ 1 - 1
cooleshow-auth/auth-server/src/main/resources/config/mybatis/SysMenuMapper.xml

@@ -84,7 +84,7 @@
             <if test="name != null">
             <if test="name != null">
                 name_ = #{name},
                 name_ = #{name},
             </if>
             </if>
-            <if test="icon != null">
+            <if test="icon != null and icon != ''">
                 icon_ = #{icon},
                 icon_ = #{icon},
             </if>
             </if>
             <if test="component != null">
             <if test="component != null">