gaodm hace 5 años
padre
commit
c10c578e6a
Se han modificado 1 ficheros con 1 adiciones y 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>