Skip to content

Commit

Permalink
InventoryCommandRepository Merge 됨에 따라 import 해주기
Browse files Browse the repository at this point in the history
  • Loading branch information
daadaadaah committed Jun 26, 2023
1 parent d7dd466 commit c9b4cba
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
package com.hcommerce.heecommerce.order;

import com.hcommerce.heecommerce.deal.DealQueryRepository;
import com.hcommerce.heecommerce.inventory.InventoryCommandRepository;
import com.hcommerce.heecommerce.inventory.InventoryQueryRepository;
import java.util.UUID;
import org.springframework.beans.factory.annotation.Autowired;
Expand Down Expand Up @@ -135,6 +135,6 @@ private void saveOrder() {
* @param amount : 원상복귀해야 하는 재고량
*/
private void rollbackReducedInventory(String key, int amount) {
return inventoryCommandRepository.increaseByAmount(key, amount);
inventoryCommandRepository.increaseByAmount(key, amount);
}
}

0 comments on commit c9b4cba

Please sign in to comment.