diff --git a/src/main/java/team7/inplace/video/application/AliasUtil.java b/src/main/java/team7/inplace/video/application/AliasUtil.java index 80667687..02107fa5 100644 --- a/src/main/java/team7/inplace/video/application/AliasUtil.java +++ b/src/main/java/team7/inplace/video/application/AliasUtil.java @@ -6,7 +6,6 @@ @RequiredArgsConstructor(access = AccessLevel.PRIVATE) public final class AliasUtil { - private final Template template; public static String makeAlias(String influencerName, Category category){ String alias = mapTemplateToCategory(category); return influencerName + " " + alias; diff --git a/src/main/java/team7/inplace/video/application/Template.java b/src/main/java/team7/inplace/video/application/Template.java index f4228236..b1f2a0d5 100644 --- a/src/main/java/team7/inplace/video/application/Template.java +++ b/src/main/java/team7/inplace/video/application/Template.java @@ -1,9 +1,6 @@ package team7.inplace.video.application; import lombok.Getter; -import team7.inplace.place.domain.Category; - -import java.util.*; @Getter public enum Template { diff --git a/src/main/java/team7/inplace/video/application/VideoService.java b/src/main/java/team7/inplace/video/application/VideoService.java index 24a566ce..3587fbd4 100644 --- a/src/main/java/team7/inplace/video/application/VideoService.java +++ b/src/main/java/team7/inplace/video/application/VideoService.java @@ -24,7 +24,7 @@ public class VideoService { private final InfluencerRepository influencerRepository; private final PlaceRepository placeRepository; - public List findByInfluencer(List influencers) { + public List getByVideosInfluencer(List influencers) { // 인플루언서 정보 처리 List influencerIds = influencerRepository.findByNameIn(influencers).stream() .map(Influencer::getId) @@ -37,7 +37,7 @@ public List findByInfluencer(List influencers) { return videoToInfo(savedVideos); } - public List findAllDesc() { + public List getAllVideosDesc() { // id를 기준으로 내림차순 정렬하여 비디오 정보 불러오기 List