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">
                 name_ = #{name},
             </if>
-            <if test="icon != null">
+            <if test="icon != null and icon != ''">
                 icon_ = #{icon},
             </if>
             <if test="component != null">