Skip to content

Commit

Permalink
hotfix : repository 줄맞춤 오류 수정
Browse files Browse the repository at this point in the history
  • Loading branch information
lreowy committed Oct 19, 2024
1 parent fdd37d4 commit ab4561a
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -41,10 +41,10 @@ default MoimSubmission findMoimSubmissionByIdOrThrow(Long id) {
boolean existsByMoimIdAndGuestIdAndMoimSubmissionState(Long moimId, Long guestId, String MoimSubmissionState);

@Query("SELECT ms FROM MoimSubmission ms WHERE ms.guestId = :guestId AND ms.moimSubmissionState IN ('pendingPayment','pendingApproval', 'approved', 'rejected','refunded')")
List<MoimSubmission> findSubmittedMoimSubmissions(@Param("guestId") Long guestId);

@Query("SELECT ms FROM MoimSubmission ms WHERE ms.moim.id = :moimId AND ms.moimSubmissionState = 'approved'")
List<MoimSubmission> findApprovedMoimSubmissionsByMoimId(@Param("moimId") Long moimId);

List<MoimSubmission> findSubmittedMoimSubmissions(@Param("guestId") Long guestId);


}

0 comments on commit ab4561a

Please sign in to comment.