diff --git a/.gradle/8.8/executionHistory/executionHistory.bin b/.gradle/8.8/executionHistory/executionHistory.bin index 2054738..04c34dd 100644 Binary files a/.gradle/8.8/executionHistory/executionHistory.bin and b/.gradle/8.8/executionHistory/executionHistory.bin differ diff --git a/.gradle/8.8/executionHistory/executionHistory.lock b/.gradle/8.8/executionHistory/executionHistory.lock index 49fedba..649be0e 100644 Binary files a/.gradle/8.8/executionHistory/executionHistory.lock and b/.gradle/8.8/executionHistory/executionHistory.lock differ diff --git a/.gradle/8.8/fileHashes/fileHashes.bin b/.gradle/8.8/fileHashes/fileHashes.bin index 181dfe2..0829fb9 100644 Binary files a/.gradle/8.8/fileHashes/fileHashes.bin and b/.gradle/8.8/fileHashes/fileHashes.bin differ diff --git a/.gradle/8.8/fileHashes/fileHashes.lock b/.gradle/8.8/fileHashes/fileHashes.lock index a90cd42..2ebe347 100644 Binary files a/.gradle/8.8/fileHashes/fileHashes.lock and b/.gradle/8.8/fileHashes/fileHashes.lock differ diff --git a/.gradle/8.8/fileHashes/resourceHashesCache.bin b/.gradle/8.8/fileHashes/resourceHashesCache.bin index aed926d..399bb04 100644 Binary files a/.gradle/8.8/fileHashes/resourceHashesCache.bin and b/.gradle/8.8/fileHashes/resourceHashesCache.bin differ diff --git a/.gradle/buildOutputCleanup/buildOutputCleanup.lock b/.gradle/buildOutputCleanup/buildOutputCleanup.lock index 8553cbd..9515fbf 100644 Binary files a/.gradle/buildOutputCleanup/buildOutputCleanup.lock and b/.gradle/buildOutputCleanup/buildOutputCleanup.lock differ diff --git a/build/tmp/compileJava/compileTransaction/stash-dir/ArticleDataLoader.class.uniqueId1 b/build/tmp/compileJava/compileTransaction/stash-dir/ArticleDataLoader.class.uniqueId1 new file mode 100644 index 0000000..6799674 Binary files /dev/null and b/build/tmp/compileJava/compileTransaction/stash-dir/ArticleDataLoader.class.uniqueId1 differ diff --git a/build/tmp/compileJava/compileTransaction/stash-dir/ArticleServiceImpl$ArticleServiceImplBuilder.class.uniqueId3 b/build/tmp/compileJava/compileTransaction/stash-dir/ArticleServiceImpl$ArticleServiceImplBuilder.class.uniqueId3 new file mode 100644 index 0000000..d0addf4 Binary files /dev/null and b/build/tmp/compileJava/compileTransaction/stash-dir/ArticleServiceImpl$ArticleServiceImplBuilder.class.uniqueId3 differ diff --git a/build/tmp/compileJava/compileTransaction/stash-dir/ArticleServiceImpl.class.uniqueId2 b/build/tmp/compileJava/compileTransaction/stash-dir/ArticleServiceImpl.class.uniqueId2 new file mode 100644 index 0000000..85edbb4 Binary files /dev/null and b/build/tmp/compileJava/compileTransaction/stash-dir/ArticleServiceImpl.class.uniqueId2 differ diff --git a/build/tmp/compileJava/compileTransaction/stash-dir/ArticleTagRepository.class.uniqueId0 b/build/tmp/compileJava/compileTransaction/stash-dir/ArticleTagRepository.class.uniqueId0 new file mode 100644 index 0000000..9179851 Binary files /dev/null and b/build/tmp/compileJava/compileTransaction/stash-dir/ArticleTagRepository.class.uniqueId0 differ diff --git a/build/tmp/compileJava/compileTransaction/stash-dir/PermitAllPathsConfig.class.uniqueId0 b/build/tmp/compileJava/compileTransaction/stash-dir/PermitAllPathsConfig.class.uniqueId0 deleted file mode 100644 index 7cb6931..0000000 Binary files a/build/tmp/compileJava/compileTransaction/stash-dir/PermitAllPathsConfig.class.uniqueId0 and /dev/null differ diff --git a/build/tmp/compileJava/previous-compilation-data.bin b/build/tmp/compileJava/previous-compilation-data.bin index f53add5..33b2e69 100644 Binary files a/build/tmp/compileJava/previous-compilation-data.bin and b/build/tmp/compileJava/previous-compilation-data.bin differ diff --git a/src/main/java/com/winner_cat/domain/article/repository/ArticleTagRepository.java b/src/main/java/com/winner_cat/domain/article/repository/ArticleTagRepository.java index b06febb..7ce9363 100644 --- a/src/main/java/com/winner_cat/domain/article/repository/ArticleTagRepository.java +++ b/src/main/java/com/winner_cat/domain/article/repository/ArticleTagRepository.java @@ -15,6 +15,8 @@ public interface ArticleTagRepository extends JpaRepository { void deleteByArticle(Article article); List findByArticle(Article article); List findByTag(Tag tag); + + @Query("SELECT at FROM ArticleTag at JOIN at.article a WHERE at.tag = :tag ORDER BY a.createdAt DESC") Page findArticleTagPageByTag(Tag tag, Pageable pageable); // 태그 이름으로 묶어서 내림차순 추출