From 399b1dd4d2fd8c99c46a8cd9f3dfc8c9204736b6 Mon Sep 17 00:00:00 2001 From: elyudwo Date: Sun, 18 Feb 2024 17:56:51 +0900 Subject: [PATCH] =?UTF-8?q?[Refactor]=20:=20=EB=82=B4=EA=B0=80=20=EC=8B=A0?= =?UTF-8?q?=EC=B2=AD=ED=95=9C=20=EC=8A=A4=ED=84=B0=EB=94=94=20=EC=A1=B0?= =?UTF-8?q?=ED=9A=8C=20=EA=B8=B0=EB=8A=A5=20=EC=88=98=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit ACCEPT 된 스터디 반환하지 않도록 수정 --- .../studyhubserver/apply/repository/ApplyRepositoryImpl.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/kr/co/studyhubinu/studyhubserver/apply/repository/ApplyRepositoryImpl.java b/src/main/java/kr/co/studyhubinu/studyhubserver/apply/repository/ApplyRepositoryImpl.java index 4d39bce1..b05550cb 100644 --- a/src/main/java/kr/co/studyhubinu/studyhubserver/apply/repository/ApplyRepositoryImpl.java +++ b/src/main/java/kr/co/studyhubinu/studyhubserver/apply/repository/ApplyRepositoryImpl.java @@ -82,7 +82,7 @@ public List findApplyByUserId(Long userId, Pageable pageable) .from(applyEntity) .innerJoin(studyEntity).on(applyEntity.studyId.eq(studyEntity.id)) .innerJoin(studyPostEntity).on(studyPostEntity.studyId.eq(studyEntity.id)) - .where(applyEntity.userId.eq(userId)) + .where(applyEntity.userId.eq(userId), applyEntity.inspection.in(Inspection.STANDBY, Inspection.REJECT)) .orderBy(applyEntity.createdDate.desc()) .offset(pageable.getOffset()) .limit(pageable.getPageSize() + 1)