From 7e8562079dff478d83743a28722bdca365a0ed36 Mon Sep 17 00:00:00 2001
From: linwei <872216696@qq.com>
Date: Thu, 26 Feb 2026 16:14:19 +0800
Subject: [PATCH] 用户查询通过 sysType

---
 drone-service/drone-system/src/main/java/org/sxkj/system/mapper/RoleMapper.xml |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)

diff --git a/drone-service/drone-system/src/main/java/org/sxkj/system/mapper/RoleMapper.xml b/drone-service/drone-system/src/main/java/org/sxkj/system/mapper/RoleMapper.xml
index be835d4..f355e3b 100644
--- a/drone-service/drone-system/src/main/java/org/sxkj/system/mapper/RoleMapper.xml
+++ b/drone-service/drone-system/src/main/java/org/sxkj/system/mapper/RoleMapper.xml
@@ -32,6 +32,9 @@
         <if test="param2!=null">
             and role_alias &lt;&gt; #{param2}
         </if>
+        <if test="param3!=null and param3!='' ">
+            and sys_type = #{param3}
+        </if>
     </select>
 
     <select id="getRoleNames" resultType="java.lang.String">

--
Gitblit v1.9.3