From c2c50ffadc3e9cf100dfe7910b60bea0b9ce9158 Mon Sep 17 00:00:00 2001
From: tangzy <tangzy123456>
Date: Wed, 14 Jul 2021 16:20:46 +0800
Subject: [PATCH] 1.接口权限

---
 src/main/java/org/springblade/modules/system/mapper/UserMapper.xml |    4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diff --git a/src/main/java/org/springblade/modules/system/mapper/UserMapper.xml b/src/main/java/org/springblade/modules/system/mapper/UserMapper.xml
index 176114a..4886233 100644
--- a/src/main/java/org/springblade/modules/system/mapper/UserMapper.xml
+++ b/src/main/java/org/springblade/modules/system/mapper/UserMapper.xml
@@ -37,11 +37,11 @@
         <result column="registered" property="registered"/>
         <result column="rtime" property="rtime"/>
         <result column="hold" property="hold"/>
+        <result column="jurisdiction" property="jurisdiction"/>
     </resultMap>
 
     <select id="selectUserPage" resultMap="userResultMap">
         select * from blade_user where is_deleted = 0
-            and tenant_id!=000000
         <if test="user.tenantId!=null and user.tenantId != ''">
             and tenant_id = #{user.tenantId}
         </if>
@@ -65,6 +65,8 @@
         </if>
         <if test="user.hold!=null and user.hold != ''">
             and hold = #{user.hold}
+        </if> <if test="user.jurisdiction!=null and user.jurisdiction != ''">
+            and jurisdiction = #{user.jurisdiction}
         </if>
         <if test="deptIdList!=null and deptIdList.size>0">
             and id in (

--
Gitblit v1.9.3