From b43753b013493495f6ea0c6d726086ade78c8e73 Mon Sep 17 00:00:00 2001 From: soyeonii Date: Thu, 12 Oct 2023 20:20:32 +0900 Subject: [PATCH] =?UTF-8?q?fix:=20=EB=A6=AC=EB=B7=B0=EA=B0=80=20=EC=9E=88?= =?UTF-8?q?=EB=8A=94=20=EB=B2=88=EC=97=AD=20=EB=82=B4=EC=97=AD=20=EB=A6=AC?= =?UTF-8?q?=EC=8A=A4=ED=8A=B8=20=EC=A1=B0=ED=9A=8C=20=EC=97=90=EB=9F=AC=20?= =?UTF-8?q?=ED=95=B4=EA=B2=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../moumi/repository/specification/RequestSpecifications.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/com/makive/moumi/repository/specification/RequestSpecifications.java b/src/main/java/com/makive/moumi/repository/specification/RequestSpecifications.java index 295f297..e18efdc 100644 --- a/src/main/java/com/makive/moumi/repository/specification/RequestSpecifications.java +++ b/src/main/java/com/makive/moumi/repository/specification/RequestSpecifications.java @@ -30,7 +30,7 @@ public static Specification findAllByClientIdAndCategory(Long clientId, } if (hasReview) { - predicates.add(criteriaBuilder.isNotEmpty(root.get("review"))); + predicates.add(criteriaBuilder.isNotNull(root.get("review"))); } else { Subquery subquery = query.subquery(Review.class); Root subqueryReview = subquery.from(Review.class);