From 8574c19b2f567d8ef565fe88ea21915ebcb1c014 Mon Sep 17 00:00:00 2001 From: Woongbin06 Date: Thu, 25 Apr 2024 00:12:56 +0900 Subject: [PATCH] =?UTF-8?q?fix(profile)=20:=20=EC=9E=AC=EC=A7=81=EC=9E=90?= =?UTF-8?q?=EB=A7=8C=20=EC=A1=B0=ED=9A=8C=EB=90=98=EB=8A=94=20=EB=B2=84?= =?UTF-8?q?=EA=B7=B8=20=ED=94=BD=EC=8A=A4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../profile/infra/database/ProfileQueryRepositoryImpl.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main-server/src/main/java/com/sickgyun/server/profile/infra/database/ProfileQueryRepositoryImpl.java b/main-server/src/main/java/com/sickgyun/server/profile/infra/database/ProfileQueryRepositoryImpl.java index 961f394..a2c9224 100644 --- a/main-server/src/main/java/com/sickgyun/server/profile/infra/database/ProfileQueryRepositoryImpl.java +++ b/main-server/src/main/java/com/sickgyun/server/profile/infra/database/ProfileQueryRepositoryImpl.java @@ -51,7 +51,7 @@ private BooleanExpression recruitedFilter(Boolean isRecruited) { return null; } - return profile.company.isNotNull(); + return isRecruited ? profile.company.isNotNull() : profile.company.isNull(); } private BooleanExpression cardinalFilter(Long cardinal) {