Commit d9fdf789 authored by 技术部-任文超's avatar 技术部-任文超

更新镜像

parent faebb174
...@@ -650,7 +650,7 @@ public class InnerController implements IBaseController { ...@@ -650,7 +650,7 @@ public class InnerController implements IBaseController {
} else { } else {
userDetailList = userDetailService.findByPhoneNoStartingWith(phoneNo); userDetailList = userDetailService.findByPhoneNoStartingWith(phoneNo);
} }
// 如果传入姓名,则进行过滤 // 如果传入姓名,则只过滤匹配项
if (!CollectionUtils.isEmpty(userDetailList) && StringUtils.isNotBlank(userName)) { if (!CollectionUtils.isEmpty(userDetailList) && StringUtils.isNotBlank(userName)) {
userDetailList = userDetailList.stream().filter(userDetail -> Objects.equals(userName, userDetail.getName())).collect(Collectors.toList()); userDetailList = userDetailList.stream().filter(userDetail -> Objects.equals(userName, userDetail.getName())).collect(Collectors.toList());
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment