Skip to content

Commit

Permalink
fix: 상품 검색 쿼리 수정
Browse files Browse the repository at this point in the history
  • Loading branch information
nowgnas committed Jan 20, 2024
1 parent 69c0629 commit 80bf256
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -293,6 +293,7 @@ public Page<Product> findProductsByFlowerId(Long flowerId, Pageable pageable) {
.is(flowerId)
.and("product_sale_status")
.is("SALE"));
query.with(pageable);
List<Product> products = mongoTemplate.find(query, Product.class);
return PageableExecutionUtils.getPage(
products,
Expand Down

0 comments on commit 80bf256

Please sign in to comment.