Skip to content

Commit

Permalink
fix:typo
Browse files Browse the repository at this point in the history
  • Loading branch information
Kang1221 committed Nov 5, 2024
2 parents d80c1a1 + 770323b commit b22e4f2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/main/java/co/orange/ddanzi/service/ItemService.java
Original file line number Diff line number Diff line change
Expand Up @@ -177,7 +177,7 @@ public ApiResponse<?> deleteItem(String itemId){

Product product = item.getProduct();
product.updateStock(product.getStock() - 1);
log.info("재고를 감소시킴 -> {}개", product.getClosestDueDate());
log.info("재고를 감소시킴 -> {}개", product.getStock());

productService.updateClosestDueDate(product);

Expand Down Expand Up @@ -249,7 +249,7 @@ public List<MyItem> getMyItemList(User user){
.productId(product.getId())
.itemId(item.getId())
.productName(product.getName())
.imgUrl(item.getImgUrl())
.imgUrl(product.getImgUrl())
.originPrice(product.getOriginPrice())
.salePrice(product.getOriginPrice() - discount.getDiscountPrice())
.isInterested(interestProductRepository.existsByIdUserAndIdProduct(user,product))
Expand Down

0 comments on commit b22e4f2

Please sign in to comment.