From 00c70fe8a833450fa8bc2bea7357e4e23d84f2f3 Mon Sep 17 00:00:00 2001
From: liujie <1793218484@qq.com>
Date: 星期日, 04 一月 2026 14:34:09 +0800
Subject: [PATCH] 修改bug

---
 ruoyi-system/src/main/resources/mapper/system/SysUserMapper.xml |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/ruoyi-system/src/main/resources/mapper/system/SysUserMapper.xml b/ruoyi-system/src/main/resources/mapper/system/SysUserMapper.xml
index 972f7d3..46cd804 100644
--- a/ruoyi-system/src/main/resources/mapper/system/SysUserMapper.xml
+++ b/ruoyi-system/src/main/resources/mapper/system/SysUserMapper.xml
@@ -300,7 +300,7 @@
     </select>
     <select id="getUserByCompanyId" resultType="com.ruoyi.common.core.domain.entity.SysUser"
             parameterType="java.lang.Integer">
-		select * from sys_user where company_id = #{id} and del_flag = 0
+		select * from sys_user where company_id = #{id} and del_flag = 0 and role_type =2
 	</select>
 	<select id="getCompanyUserList" resultType="com.ruoyi.common.core.domain.entity.SysUser">
 		select * from sys_user where company_id = #{companyId} and del_flag = 0

--
Gitblit v1.7.1