Skip to content

Commit

Permalink
⚙️ :: (823) 기업 필터링 수정
Browse files Browse the repository at this point in the history
  • Loading branch information
ilyoil2 committed Nov 5, 2024
1 parent 3df29d9 commit 9dbfc95
Showing 1 changed file with 6 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -129,10 +129,14 @@ public List<TeacherCompaniesVO> getByConditions(CompanyFilter filter) {
eqRegion(filter.getRegion()),
eqBusinessArea(filter.getBusinessArea())
)
.offset(filter.getOffset())
.limit(filter.getLimit())
.orderBy(recruitmentEntity.recruitYear.desc());

if (filter.getPage() != null) {
query
.offset(filter.getOffset())
.limit(filter.getLimit());
}

return query
.fetch().stream()
.map(TeacherCompaniesVO.class::cast)
Expand Down

0 comments on commit 9dbfc95

Please sign in to comment.