Skip to content

Commit

Permalink
feat : 상품 조회 시 image url 필드 추가 #104 (#106)
Browse files Browse the repository at this point in the history
  • Loading branch information
bongsh0112 authored Nov 22, 2023
1 parent 6a9e55c commit ad70081
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -14,4 +14,5 @@ public class ProductRetrieveDTO {
private String characteristic;
private Long price;
private String productOption;
private String imageUrl;
}
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,8 @@ public Slice<ProductRetrieveDTO> searchByKeyword(ProductCondition productConditi
product.brand,
product.characteristic,
product.price,
product.productOption))
product.productOption,
product.imageUrl))
.from(product)
.where(product.name.contains(productCondition.getKeyword()))
.orderBy(product.id.asc())
Expand All @@ -98,7 +99,8 @@ public Slice<ProductRetrieveDTO> searchBySmallCategory(
product.brand,
product.characteristic,
product.price,
product.productOption))
product.productOption,
product.imageUrl))
.from(product)
.where(
product.favorQuestionCategoryId.in(
Expand Down

0 comments on commit ad70081

Please sign in to comment.