@@ -168,14 +168,9 @@
from uims_role a left join
(select count(*) users ,ROLE_ID from uims_user_role b
<where>
- status!=-1
- <if test="role.tenantId != null and role.tenantId != ''">
- and TENANT_ID = #{role.tenantId}
- </if>
- </where>
-
- group by b.ROLE_ID) b
+ and status!=-1
+ </where>
+ group by b.ROLE_ID ) b
ON a.id=b.ROLE_ID
and status!=-1