Skip to content

Commit

Permalink
[Refactor] : 내가 신청한 스터디 조회 기능 수정
Browse files Browse the repository at this point in the history
ACCEPT 된 스터디 반환하지 않도록 수정
  • Loading branch information
elyudwo committed Feb 18, 2024
1 parent edc3e93 commit 399b1dd
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ public List<RequestApplyData> 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)
Expand Down

0 comments on commit 399b1dd

Please sign in to comment.