ソースを参照

增加租户标识

hym 4 年 前
コミット
843483ca68
1 ファイル変更3 行追加8 行削除
  1. 3 8
      user_center/src/main/resources/mapper/RoleMapper.xml

+ 3 - 8
user_center/src/main/resources/mapper/RoleMapper.xml

@@ -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
         <where>
             and status!=-1