Skip to content

Commit

Permalink
refactor: 키워드 대문자 변경
Browse files Browse the repository at this point in the history
소문자로 되어있는 부분이 있어서 대문자로 변경
  • Loading branch information
ybkang1108 committed Jan 15, 2025
1 parent 8b99f60 commit de6f39a
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ public interface RoundRepository extends JpaRepository<Round, Long> {
* @param roundId 라운드 아이디
* @return 해당 라운드의 모든 댓글 리스트
*/
@Query("select c from Comment c where c.round.id = :roundId")
@Query("SELECT c FROM Comment c WHERE c.round.id = :roundId")
List<Comment> findComments(@Param("roundId") Long roundId);

@Query("SELECT c FROM Comment c WHERE c.round.id = :roundId AND" + " c.member.id = :memberId")
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ public interface StudyRepository extends JpaRepository<Study, Long> {
* @param studyId 스터디 아이디
* @return 커리큘럼 List
*/
@Query(value = "select c from Curriculum c where c.study.id = :studyId")
@Query(value = "SELECT c FROM Curriculum c WHERE c.study.id = :studyId")
List<Curriculum> findCurriculums(@Param("studyId") Long studyId);

/**
Expand All @@ -47,7 +47,7 @@ public interface StudyRepository extends JpaRepository<Study, Long> {
* @param week 조회할 회차
* @return 해당 회차의 Curriculum
*/
@Query("select c from Curriculum c where" + " c.study.id = :studyId AND" + " c.week = :week")
@Query("SELECT c FROM Curriculum c WHERE" + " c.study.id = :studyId AND" + " c.week = :week")
Curriculum findCurriculumByWeek(@Param("studyId") Long studyId, @Param("week") Integer week);

// ================ DAY ================ //
Expand All @@ -57,7 +57,7 @@ public interface StudyRepository extends JpaRepository<Study, Long> {
* @param studyId 조회할 스터디의 Id
* @return 해당 스터디의 주간 일정을 {@code List<Day> } 형식으로 반환
*/
@Query(value = "select d from Day d where d.study.id = :studyId")
@Query(value = "SELECT d FROM Day d WHERE d.study.id = :studyId")
List<Day> getStudyDay(@Param("studyId") Long studyId);

// ================ ANSWER ================ //
Expand Down

0 comments on commit de6f39a

Please sign in to comment.