From be9c2f231ffb137f024cd91d5135b55b7b40e04e Mon Sep 17 00:00:00 2001 From: DongGeon Lee <71763322+himodu@users.noreply.github.com> Date: Mon, 20 May 2024 22:20:43 +0900 Subject: [PATCH] [MODIFY] getCommentPage debug - getCommentPage debug --- .../KNUfest/domain/comment/service/CommentServiceImpl.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/LlikelionKNU/KNUfest/domain/comment/service/CommentServiceImpl.java b/src/main/java/LlikelionKNU/KNUfest/domain/comment/service/CommentServiceImpl.java index 0e43a33..7bd8ad1 100644 --- a/src/main/java/LlikelionKNU/KNUfest/domain/comment/service/CommentServiceImpl.java +++ b/src/main/java/LlikelionKNU/KNUfest/domain/comment/service/CommentServiceImpl.java @@ -40,7 +40,7 @@ public List getCommentPage(int boothNum, String categori, int page, Str List comments; List result = new ArrayList<>(); - int offset = (page-1) * 5; + int offset = (page-1) * 20; comments = commentRepository.findAllOrderByIdDESC(booth.getId(), 20, offset);