Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[CHORE] 구인역할 스킬없는 경우 대응 #302

Merged
merged 1 commit into from
Apr 29, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@

public interface RecruitmentRoleRepository extends JpaRepository<RecruitmentRole, Long>,
RecruitmentRoleRepositoryCustom {
@Query("SELECT r FROM RecruitmentRole r JOIN FETCH r.recruitmentRoleSkills s JOIN FETCH s.skill WHERE r.recruitmentPost.id = :postId")
@Query("SELECT r FROM RecruitmentRole r LEFT JOIN FETCH r.recruitmentRoleSkills s LEFT JOIN FETCH s.skill WHERE r.recruitmentPost.id = :postId")
List<RecruitmentRole> findByPostIdWithSkills(@Param("postId") Long postId);

@Query("SELECT r FROM RecruitmentRole r JOIN FETCH r.recruitmentPost p JOIN FETCH r.role WHERE p.id = :postId")
Expand Down
Loading