From 1be47d9a1870c3d4afce3e065da3a129b1f4abee Mon Sep 17 00:00:00 2001 From: huangyw <1207046171@qq.com> Date: Tue, 3 Sep 2024 08:59:40 +0800 Subject: [PATCH] =?UTF-8?q?release:=20PC=20=E7=94=A8=E6=88=B7=E6=9F=A5?= =?UTF-8?q?=E8=AF=A2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/main/java/com/luoo/user/service/UserInfoService.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/luoo_user/src/main/java/com/luoo/user/service/UserInfoService.java b/luoo_user/src/main/java/com/luoo/user/service/UserInfoService.java index b974378..dd469f9 100644 --- a/luoo_user/src/main/java/com/luoo/user/service/UserInfoService.java +++ b/luoo_user/src/main/java/com/luoo/user/service/UserInfoService.java @@ -868,7 +868,7 @@ public class UserInfoService { if (StringUtils.isBlank(nickName)) { return null; } else { - return userInfoDao.getUserInfosByNickNameLike(nickName); + return userInfoDao.getUserInfosByNickNameLike("%" + nickName + "%"); } }