diff --git a/power-dao/src/main/resources/mapper/Power_UserMapper.xml b/power-dao/src/main/resources/mapper/Power_UserMapper.xml
index 5f72541..aba043e 100644
--- a/power-dao/src/main/resources/mapper/Power_UserMapper.xml
+++ b/power-dao/src/main/resources/mapper/Power_UserMapper.xml
@@ -317,7 +317,7 @@
)
- and power_user.user_name LIKE '%${userName}%'
+ and power_user.user_name = #{userName}
and power_user.name LIKE '%${name}%'
@@ -372,7 +372,7 @@
)
- and power_user.user_name LIKE '%${userName}%'
+ and power_user.user_name = #{userName}
and power_user.name LIKE '%${name}%'