This commit is contained in:
77
2024-08-13 17:57:58 +08:00
parent 27e37ba812
commit 52c80f1f3a
2 changed files with 3 additions and 2 deletions

View File

@@ -114,7 +114,7 @@ public class RankAppController {
Map<Long, User> userMap = userList.stream().collect(Collectors.toMap(User::getId, Function.identity()));
Map<Long, AnchorStatusDTO> anchorStatusMap = new HashMap<>();
if(CollectionUtils.isNotEmpty(userIds)){
List<AnchorStatusDTO> anchorStatusList = anchorMapper.anchorStatus(userList);
List<AnchorStatusDTO> anchorStatusList = anchorMapper.anchorStatus(userIds);
anchorStatusMap = anchorStatusList.stream().collect(Collectors.toMap(AnchorStatusDTO::getUserId, Function.identity()));
}
long lastLove = 0;