From 7a3391f17a3b80fa899e1c93ce0d96f8d3e3f1df Mon Sep 17 00:00:00 2001 From: dl-00-e8 Date: Mon, 23 Sep 2024 17:49:02 +0900 Subject: [PATCH] =?UTF-8?q?[#244]=20fix:=20=EB=AA=A8=EC=A7=91=20=EC=A4=91?= =?UTF-8?q?=EC=9D=B8=20=ED=8C=80=EB=A7=8C=20=EC=A1=B0=ED=9A=8C=EB=90=98?= =?UTF-8?q?=EB=8F=84=EB=A1=9D=20=EC=A1=B0=EA=B1=B4=20=EC=B6=94=EA=B0=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../server/domain/team/repository/TeamRepositoryImpl.java | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/main/java/com/gongjakso/server/domain/team/repository/TeamRepositoryImpl.java b/src/main/java/com/gongjakso/server/domain/team/repository/TeamRepositoryImpl.java index 19c0f2e..6592b63 100644 --- a/src/main/java/com/gongjakso/server/domain/team/repository/TeamRepositoryImpl.java +++ b/src/main/java/com/gongjakso/server/domain/team/repository/TeamRepositoryImpl.java @@ -115,11 +115,14 @@ public Page findPaginationWithoutContest(String province, String } public Page findRecruitPagination(Long memberId, Pageable pageable) { + List teamStatusList = Arrays.asList(TeamStatus.RECRUITING, TeamStatus.EXTENSION); + List teamList = queryFactory .select(team) .from(team) .where( team.member.id.eq(memberId), + team.status.in(teamStatusList), team.deletedAt.isNull() ) .orderBy(team.createdAt.desc())