Ver Fonte

修改代码

wks há 2 anos atrás
pai
commit
d2e0645fd6

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

@@ -844,7 +844,7 @@
         LEFT JOIN sys_role t4 ON t3.role_id = t4.id
         AND sd.del_flag = '0'
         WHERE
-        su.status =1  AND su.id LIKE '%M%'
+        su.status != 0  AND su.id LIKE '%M%'
         <if test='user !=null  '>
             <if test='user.name !=null and user.name!="" '>
                 and su.name = #{user.name}