gaodm %!s(int64=5) %!d(string=hai) anos
pai
achega
c10c578e6a
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      src/main/resources/mapper/SysUserMapper.xml

+ 1 - 1
src/main/resources/mapper/SysUserMapper.xml

@@ -121,7 +121,7 @@
             </otherwise>
         </choose>
         WHERE
-        t10.roleId != -1
+        IFNULL(t10.roleId,0) != -1
         <if test="linkman != null and linkman != ''">
             and t3.linkman like CONCAT('%',#{linkman},'%')
         </if>