Skip to content

Commit

Permalink
⚙️ :: (#main) job code filter error
Browse files Browse the repository at this point in the history
  • Loading branch information
tedsoftj1123 committed Nov 21, 2023
1 parent 1802261 commit dee14be
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ public StudentQueryRecruitmentsResponse studentQueryRecruitments(
@RequestParam(value = "winter_intern", required = false) Boolean winterIntern
) {
List<String> codes = new ArrayList<>(StringUtil.divideString(techCodes, ","));
if (jobCode != null) codes.add(jobCode);
if (jobCode.length() == 2) codes.add(jobCode);

return studentQueryRecruitmentsUseCase.execute(
companyName,
Expand All @@ -122,7 +122,7 @@ public TotalPageCountResponse studentQueryRecruitmentCount(
@RequestParam(value = "winter_intern", required = false) Boolean winterIntern
) {
List<String> codes = new ArrayList<>(StringUtil.divideString(techCodes, ","));
if (jobCode != null) codes.add(jobCode);
if (jobCode.length() == 2) codes.add(jobCode);

return studentQueryRecruitmentsUseCase.getTotalPageCount(
companyName,
Expand Down

0 comments on commit dee14be

Please sign in to comment.