diff --git a/luoo_music/src/main/java/com/luoo/music/controller/JournalController.java b/luoo_music/src/main/java/com/luoo/music/controller/JournalController.java index eaad5a1..3fb13c2 100644 --- a/luoo_music/src/main/java/com/luoo/music/controller/JournalController.java +++ b/luoo_music/src/main/java/com/luoo/music/controller/JournalController.java @@ -111,7 +111,7 @@ public class JournalController { List pageList = journalService.orderByField(objectIds); Set journalCollectSet = new HashSet<>(objectIds); Map> tagMap=tagService.getTagMap(objectIds); - List list = pageList.stream().map(a -> JournalMapper.getJournalRespDTO(a, journalCollectSet,mongoTemplate,redisTemplate,commentDao,tagMap)) + List list = pageList.stream().map(a -> JournalMapper.getJournalRespDTO(a, journalCollectSet,tagMap)) .collect(Collectors.toList()); return Result.success(new PageResult(Long.valueOf(list.size()), list)); } @@ -176,7 +176,7 @@ public class JournalController { Set journalCollectSet = null == user ? Collections.emptySet() : userCollectInfoService.getCollectSet(user.getUserId(),ids, CollectTypeEnum.JOURNAL); Map> tagMap=tagService.getTagMap(ids); - List list = journals.stream().map(a -> JournalMapper.getJournalRespDTO(a, journalCollectSet,mongoTemplate,redisTemplate,commentDao,tagMap)) + List list = journals.stream().map(a -> JournalMapper.getJournalRespDTO(a, journalCollectSet,tagMap)) .collect(Collectors.toList()); return Result.success(list);