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 + "%"); } }