Skip to content

Commit

Permalink
refactor: JPQL 마지막 띄어쓰기 제거
Browse files Browse the repository at this point in the history
  • Loading branch information
amaran-th committed Aug 17, 2023
1 parent bae8616 commit b560495
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
public interface EssayAnswerRepository extends JpaRepository<EssayAnswer, Long>,
JpaSpecificationExecutor<EssayAnswer> {

@Query("select ea from EssayAnswer ea where ea.quiz.id = :quizId and ea.member.id = :memberId ")
@Query("select ea from EssayAnswer ea where ea.quiz.id = :quizId and ea.member.id = :memberId")
boolean existsByQuizIdAndMemberId(Long quizId, Long memberId);

Optional<EssayAnswer> findByIdAndMemberId(Long id, Long memberId);
Expand Down

0 comments on commit b560495

Please sign in to comment.