Skip to content

Commit

Permalink
fix: 리뷰가 있는 번역 내역 리스트 조회 에러 해결
Browse files Browse the repository at this point in the history
  • Loading branch information
soyeonii committed Oct 12, 2023
1 parent 6f7f391 commit b43753b
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ public static Specification<Request> findAllByClientIdAndCategory(Long clientId,
}

if (hasReview) {
predicates.add(criteriaBuilder.isNotEmpty(root.get("review")));
predicates.add(criteriaBuilder.isNotNull(root.get("review")));
} else {
Subquery<Review> subquery = query.subquery(Review.class);
Root<Review> subqueryReview = subquery.from(Review.class);
Expand Down

0 comments on commit b43753b

Please sign in to comment.