Skip to content

Commit

Permalink
🐛 Fix: palette 필드 삭제로 인한 쿼리문 수정
Browse files Browse the repository at this point in the history
<footer>
- 관련: #429
  • Loading branch information
joowojr committed Jan 12, 2025
1 parent 11a5ba8 commit f98d1c2
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ public interface ParticipantRepository extends JpaRepository<Participant, Long>

boolean existsByScheduleIdAndAnonymousId(Long scheduleId, Long anonymousId);

@Query("SELECT p FROM Participant p JOIN FETCH p.schedule s LEFT JOIN FETCH p.palette " +
@Query("SELECT p FROM Participant p JOIN FETCH p.schedule s " +
"WHERE s.id = :scheduleId AND s.scheduleType = :scheduleType ")
List<Participant> findParticipantsByScheduleIdAndStatusAndType(Long scheduleId, int scheduleType);

Expand Down

0 comments on commit f98d1c2

Please sign in to comment.