From e8549fc885fc7c74c199a5f0368b86e441204c28 Mon Sep 17 00:00:00 2001 From: MoonJongHyeon1095 <109948801+MoonJongHyeon1095@users.noreply.github.com> Date: Fri, 22 Sep 2023 09:07:57 +0900 Subject: [PATCH] =?UTF-8?q?refactor=20:=20=EC=83=81=ED=92=88=EC=A3=BC?= =?UTF-8?q?=EB=AC=B8=EA=B1=B4=20=EC=A1=B0=ED=9A=8C=205=EC=B4=88=20?= =?UTF-8?q?=EC=A0=84=EC=9C=BC=EB=A1=9C?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../java/com/github/commerce/service/order/OrderService.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/com/github/commerce/service/order/OrderService.java b/src/main/java/com/github/commerce/service/order/OrderService.java index a60cead..d96d618 100644 --- a/src/main/java/com/github/commerce/service/order/OrderService.java +++ b/src/main/java/com/github/commerce/service/order/OrderService.java @@ -229,7 +229,7 @@ public List getOrderListFromCart(Long userId, String orderTag) { @Transactional public List getOrderListFromProduct(Long userId, Long productId) { validateOrderMethod.validateUser(userId); - LocalDateTime adjustTime = getKoreanTime().minusMinutes(1); + LocalDateTime adjustTime = getKoreanTime().minusSeconds(5); List orderList = orderRepository.findByUsersIdAndProductsIdWithTime(userId, productId, adjustTime); return orderList.stream().map(OrderDto::fromEntity).collect(Collectors.toList()); }