Commit 8784135f authored by 廖旭伟's avatar 廖旭伟

测试bug修改

parent 6c53e997
......@@ -100,7 +100,7 @@ public class BussinesscardRecordServiceImpl extends AbstractCRUDServiceImpl<Buss
List<UserEntity> userList = userService.find(new UserQuery().idList(userIdList));
Map<Long,UserEntity> userMap = userList.parallelStream().collect(Collectors.toMap(x -> x.getId(), z -> z, (o, n) -> n));
list.forEach(item->{
UserEntity userEntity = userMap.get(item.getCreateUserId());
UserEntity userEntity = userMap.get(item.getViewId());
if(userEntity!=null) {
item.setNickName(userEntity.getNickName());
item.setRealName(userEntity.getRealName());
......
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