Skip to content

Commit c23c956

Browse files
authored
[Refactor]: ProdInitData 수정 (#267)
1 parent 12c3042 commit c23c956

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/main/java/com/backend/global/initdata/ProdInitData.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -51,9 +51,9 @@ public void work1() {
5151
}
5252

5353
Product product = productRepository.findById(24L).get();
54-
if (product.getEndTime().isAfter(LocalDateTime.of(2025, 10, 16, 0, 9, 59))) {
54+
if (product.getEndTime().isBefore(LocalDateTime.of(2025, 10, 16, 0, 25, 59))) {
5555
return;
5656
}
57-
product.setEndTime(LocalDateTime.of(2025, 10, 16, 0, 9, 59));
57+
product.setEndTime(LocalDateTime.of(2025, 10, 16, 0, 15, 59));
5858
}
5959
}

0 commit comments

Comments
 (0)