From 8b375fe00a241b3a769b82fe3dac8d1c9dce8a02 Mon Sep 17 00:00:00 2001
From: Administrator <admin>
Date: Thu, 16 Jun 2022 14:36:07 +0800
Subject: [PATCH] 模拟考试修改

---
 src/main/java/org/springblade/modules/system/mapper/RoleMapper.xml |   33 ++++++++++++++++++++++++---------
 1 files changed, 24 insertions(+), 9 deletions(-)

diff --git a/src/main/java/org/springblade/modules/system/mapper/RoleMapper.xml b/src/main/java/org/springblade/modules/system/mapper/RoleMapper.xml
index 295c3fe..f5a92c3 100644
--- a/src/main/java/org/springblade/modules/system/mapper/RoleMapper.xml
+++ b/src/main/java/org/springblade/modules/system/mapper/RoleMapper.xml
@@ -21,11 +21,14 @@
     </resultMap>
 
     <select id="selectRolePage" resultMap="roleResultMap">
-        select * from blade_role where is_deleted = 0
+        select *
+        from blade_role
+        where is_deleted = 0
     </select>
 
     <select id="tree" resultMap="treeNodeResultMap">
-        select id, parent_id, role_name as title, id as "value", id as "key" from blade_role where is_deleted = 0
+        select id, parent_id, role_name as title, id as "value", id as "key" from blade_role where is_deleted = 0 AND
+        id!=1123598816738675201
         <if test="param1!=null">
             and tenant_id = #{param1}
         </if>
@@ -65,13 +68,25 @@
 
 
     <select id="Info" resultType="java.lang.String">
-        SELECT
-        role_alias as rolename
-        FROM
-        blade_role
-        WHERE
-        id=#{id}
-        and is_deleted = 0
+        SELECT role_alias as rolename
+        FROM blade_role
+        WHERE id = #{id}
+          and is_deleted = 0
+    </select>
+
+    <select id="selectRole" resultType="java.util.HashMap">
+        SELECT id,
+               role_name AS title
+        FROM blade_role
+        WHERE is_deleted = 0
+          AND id != 1123598816738675201
+	AND id != 1414575877054365698
+	AND id != 1414840172333842433
+	AND id != 1415870935329771522
+	AND id != 1416733602219110402
+	AND id != 1428177141018771458
+	AND id != 1428972101748465665
+	AND id != 1431234799414071297
     </select>
 
 </mapper>

--
Gitblit v1.9.3