diff --git a/ruoyi-system/src/main/resources/mapper/system/SysConfigMapper.xml b/ruoyi-system/src/main/resources/mapper/system/SysConfigMapper.xml
index 2f0c8be..9c35661 100644
--- a/ruoyi-system/src/main/resources/mapper/system/SysConfigMapper.xml
+++ b/ruoyi-system/src/main/resources/mapper/system/SysConfigMapper.xml
@@ -61,7 +61,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
diff --git a/ruoyi-system/src/main/resources/mapper/system/SysDeptMapper.xml b/ruoyi-system/src/main/resources/mapper/system/SysDeptMapper.xml
index 9da14d8..36c2aa5 100644
--- a/ruoyi-system/src/main/resources/mapper/system/SysDeptMapper.xml
+++ b/ruoyi-system/src/main/resources/mapper/system/SysDeptMapper.xml
@@ -64,7 +64,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
- select count(1) from sys_user where user_name = #{userName}
+ select count(1) from sys_user where user_name = #{userName} limit 1
- select user_id, phonenumber from sys_user where phonenumber = #{phonenumber}
+ select user_id, phonenumber from sys_user where phonenumber = #{phonenumber} limit 1
- select user_id, email from sys_user where email = #{email}
+ select user_id, email from sys_user where email = #{email} limit 1