Skip to content

Commit

Permalink
Merge pull request #109 from PawWithU/feat/108-application-confirm-ca…
Browse files Browse the repository at this point in the history
…ncel-api-valid

[Feature] 이동봉사 신청 승인, 반려 검증 로직 추가
  • Loading branch information
kyeong-hyeok authored Nov 19, 2023
2 parents 7bcb38b + 7339eee commit 795bcfe
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,8 @@ public Optional<Application> findByIdAndIntermediaryIdWithPost(Long applicationI
.from(application)
.join(application.post, post).fetchJoin()
.where(application.id.eq(applicationId)
.and(application.intermediary.id.eq(intermediaryId)))
.and(application.intermediary.id.eq(intermediaryId))
.and(application.status.eq(ApplicationStatus.WAITING)))
.fetchOne());
}

Expand Down

0 comments on commit 795bcfe

Please sign in to comment.