From 5b199eb85ad78bf4e314c30caeb53de1cf11aa6b Mon Sep 17 00:00:00 2001 From: belljun3395 <195850@jnu.ac.kr> Date: Fri, 11 Oct 2024 10:57:26 +0900 Subject: [PATCH] =?UTF-8?q?refactor:=20=EC=A0=95=EB=A0=AC=20=EA=B8=B0?= =?UTF-8?q?=EC=A4=80=20=EC=88=98=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../kotlin/com/few/api/repo/dao/article/ArticleViewCountDao.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/api-repo/src/main/kotlin/com/few/api/repo/dao/article/ArticleViewCountDao.kt b/api-repo/src/main/kotlin/com/few/api/repo/dao/article/ArticleViewCountDao.kt index e65daa63..f94f4cfe 100644 --- a/api-repo/src/main/kotlin/com/few/api/repo/dao/article/ArticleViewCountDao.kt +++ b/api-repo/src/main/kotlin/com/few/api/repo/dao/article/ArticleViewCountDao.kt @@ -166,7 +166,7 @@ class ArticleViewCountDao( ) ) ).orderBy( - field(EMAIL_VIEW_COUNT_TABLE_VIEW_COUNT, Long::class.java).desc(), + field(VIEW_COUNT_COLUMN, Long::class.java).desc(), ARTICLE_VIEW_COUNT.ARTICLE_ID.desc() ).limit(query.offset, Long.MAX_VALUE) .asTable(ARTICLE_VIEW_COUNT_OFFSET_TABLE)