Commit 7ac8cf71 authored by shiyu's avatar shiyu

首页关注

parent ecdedd84
......@@ -249,6 +249,9 @@ public class ItemServiceImpl implements ItemService {
List<Long> officialUserIdList = itemsOfficialUsersRelations.stream().map(ItemsOfficialUsersRelation::getUserId).collect(Collectors.toList());
List<Long> filterFollowerIds = followerIds.stream().filter(i -> !officialUserIdList.contains(i)).collect(Collectors.toList());
if (CollectionUtils.isEmpty(filterFollowerIds)) {
return Result.success(agentTranceResponseVoPageInfo);
}
//查询关注者发布的商品id,排除官方的账号
List<UserItemsRelation> userItemsRelations = userItemsRelationDao.listByUserIds(null, filterFollowerIds);
......
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