From c7621016b0972be2d7f958d23201aa981dd8e5e8 Mon Sep 17 00:00:00 2001 From: "chosw1002@naver.com" Date: Fri, 8 Mar 2024 21:38:24 +0900 Subject: [PATCH] =?UTF-8?q?hotfix:=20=ED=95=99=EA=B3=BC=20=EC=BF=BC?= =?UTF-8?q?=EB=A6=AC=20=EB=A9=94=EC=84=9C=EB=93=9C=20=EC=88=98=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../gdschongik/gdsc/domain/member/dao/MemberQueryMethod.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/com/gdschongik/gdsc/domain/member/dao/MemberQueryMethod.java b/src/main/java/com/gdschongik/gdsc/domain/member/dao/MemberQueryMethod.java index 172eb661d..f78736f0d 100644 --- a/src/main/java/com/gdschongik/gdsc/domain/member/dao/MemberQueryMethod.java +++ b/src/main/java/com/gdschongik/gdsc/domain/member/dao/MemberQueryMethod.java @@ -52,7 +52,7 @@ protected BooleanExpression eqRequirementStatus( } protected BooleanExpression inDepartmentList(List departmentCodes) { - return departmentCodes != null ? member.department.in(departmentCodes) : null; + return departmentCodes.isEmpty() ? null : member.department.in(departmentCodes); } protected BooleanExpression isStudentIdNotNull() {