Commit 42750468 authored by 廖旭伟's avatar 廖旭伟

测试bug修改

parent dba1baaa
......@@ -96,7 +96,7 @@ public class BussinesscardRecordServiceImpl extends AbstractCRUDServiceImpl<Buss
protected void findAfter(BussinesscardRecordEntity params, PageInfo pageInfo, Context context, List<BussinesscardRecordEntity> list) throws AppException {
super.findAfter(params, pageInfo, context, list);
if(CollectionUtils.isNotEmpty(list)){
List<Long> userIdList = list.stream().map(BussinesscardRecordEntity::getCreateUserId).collect(Collectors.toList());
List<Long> userIdList = list.stream().map(BussinesscardRecordEntity::getViewId).collect(Collectors.toList());
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->{
......
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