Skip to content

Commit

Permalink
⚙️ :: (#615) join 수정
Browse files Browse the repository at this point in the history
  • Loading branch information
alsdl0629 committed Apr 3, 2024
1 parent 8bd88be commit f7fa916
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -230,8 +230,7 @@ public Optional<Application> queryApplicationByCompanyIdAndStudentId(Long compan
queryFactory
.selectFrom(applicationEntity)
.join(applicationEntity.recruitment, recruitmentEntity)
.join(recruitmentEntity.company, companyEntity)
.on(companyEntity.id.eq(companyId))
.on(recruitmentEntity.company.id.eq(companyId))
.where(applicationEntity.student.id.eq(studentId))
.fetchFirst()
).map(applicationMapper::toDomain);
Expand Down

0 comments on commit f7fa916

Please sign in to comment.