Skip to content

Commit

Permalink
[FO-1042] 구인구직에 gender 명시되어 있지 않으면 값이 안 나오는 오류 픽스의 픽스 (FONE1light#436)
Browse files Browse the repository at this point in the history
  • Loading branch information
DoodlesOnMyFood authored Apr 28, 2024
1 parent dc15084 commit cf03373
Showing 1 changed file with 8 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -103,8 +103,14 @@ class JobOpeningRepositoryImpl(
from(entity(JobOpening::class))
where(
and(
if (request.genders.isNotEmpty()) col(JobOpening::type).equal(request.type) else null,
col(JobOpening::gender).inValues(request.genders),
col(JobOpening::type).equal(request.type),
if (request.genders.isNotEmpty()) {
col(
JobOpening::gender
).inValues(request.genders)
} else {
null
},
col(JobOpening::ageMax).greaterThanOrEqualTo(request.ageMin),
col(JobOpening::ageMin).lessThanOrEqualTo(request.ageMax),
if (request.domains.isNotEmpty()) {
Expand Down

0 comments on commit cf03373

Please sign in to comment.