Skip to content

Commit

Permalink
Merge pull request #151 from supercoding-commerce/dev
Browse files Browse the repository at this point in the history
Build v0.1.6 (2023-09-22) patch0.1
  • Loading branch information
MoonJongHyeon1095 authored Sep 22, 2023
2 parents bbf6625 + 323be2f commit 9f36684
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -229,7 +229,7 @@ public List<OrderDto> getOrderListFromCart(Long userId, String orderTag) {
@Transactional
public List<OrderDto> getOrderListFromProduct(Long userId, Long productId) {
validateOrderMethod.validateUser(userId);
LocalDateTime adjustTime = getKoreanTime().minusMinutes(1);
LocalDateTime adjustTime = getKoreanTime().minusSeconds(5);
List<Order> orderList = orderRepository.findByUsersIdAndProductsIdWithTime(userId, productId, adjustTime);
return orderList.stream().map(OrderDto::fromEntity).collect(Collectors.toList());
}
Expand Down

0 comments on commit 9f36684

Please sign in to comment.