From b7624be989e599505cdf2ccf4f43f3ac952733f0 Mon Sep 17 00:00:00 2001
From: zhongrj <646384940@qq.com>
Date: Sun, 17 Sep 2023 16:37:54 +0800
Subject: [PATCH] 角色查询修改,只查询当前角色下级角色,用户查询排除超级管理员查询,角色数查询除超级管理员查询查全部外,其他角色只查询当有有的权限菜单

---
 src/main/java/org/springblade/modules/accreditation/mapper/AccreditationRecordsMapper.java |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/src/main/java/org/springblade/modules/accreditation/mapper/AccreditationRecordsMapper.java b/src/main/java/org/springblade/modules/accreditation/mapper/AccreditationRecordsMapper.java
index 12ced06..92a3413 100644
--- a/src/main/java/org/springblade/modules/accreditation/mapper/AccreditationRecordsMapper.java
+++ b/src/main/java/org/springblade/modules/accreditation/mapper/AccreditationRecordsMapper.java
@@ -66,5 +66,5 @@
 	 * @param id 用户id
 	 * @return
 	 */
-	int getAccreditationRecordsByUserIdAuditCount(@Param("userId") String id);
+	int getAccreditationRecordsByUserIdAuditCount(@Param("userId") String id,@Param("type") Integer type);
 }

--
Gitblit v1.9.3