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())