From 6a6b7a067b30450f090ce55142de5c26ab85b40b Mon Sep 17 00:00:00 2001
From: zengwh <81383286@qq.com>
Date: Tue, 26 Oct 2021 15:02:16 +0800
Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E7=94=A8=E6=88=B7=E5=88=97?=
=?UTF-8?q?=E8=A1=A8=E7=9A=84=E7=94=A8=E6=88=B7=E5=90=8D=E6=A8=A1=E7=B3=8A?=
=?UTF-8?q?=E6=9F=A5=E8=AF=A2=E6=94=B9=E7=B2=BE=E5=87=86=E6=9F=A5=E8=AF=A2?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
power-dao/src/main/resources/mapper/Power_UserMapper.xml | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
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}%'