Skip to content

Commit

Permalink
hotfix: 학과 쿼리 메서드 수정 (#282)
Browse files Browse the repository at this point in the history
  • Loading branch information
Sangwook02 authored Mar 8, 2024
1 parent 4127d4e commit c2fdf57
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ protected BooleanExpression eqRequirementStatus(
}

protected BooleanExpression inDepartmentList(List<Department> departmentCodes) {
return departmentCodes != null ? member.department.in(departmentCodes) : null;
return departmentCodes.isEmpty() ? null : member.department.in(departmentCodes);
}

protected BooleanExpression isStudentIdNotNull() {
Expand Down

0 comments on commit c2fdf57

Please sign in to comment.