diff --git a/src/main/java/com/cvsgo/repository/ProductCustomRepositoryImpl.java b/src/main/java/com/cvsgo/repository/ProductCustomRepositoryImpl.java index b08ab762..bb80afdb 100644 --- a/src/main/java/com/cvsgo/repository/ProductCustomRepositoryImpl.java +++ b/src/main/java/com/cvsgo/repository/ProductCustomRepositoryImpl.java @@ -222,7 +222,7 @@ public Long countByUserProductBookmark(User loginUser) { return queryFactory.select(product.count()) .from(product) .leftJoin(productBookmark) - .on(productBookmark.product.eq(product).and(productLikeUserEq(loginUser))) + .on(productBookmark.product.eq(product).and(productBookmarkUserEq(loginUser))) .where( product.in( selectDistinct(sellAt.product)