From e5d50f569d8780cb5d8832274bd6fb0f1c844b07 Mon Sep 17 00:00:00 2001 From: dongkyeomjang Date: Sat, 23 Nov 2024 23:46:37 +0900 Subject: [PATCH] =?UTF-8?q?=F0=9F=94=A8=20Refactor/#135=20-=20=F0=9F=94=A8?= =?UTF-8?q?=20Refactor=20-=20Event=20Scheduling=20=EC=A3=BC=EA=B8=B0=201?= =?UTF-8?q?=EB=B6=84=EC=9C=BC=EB=A1=9C=20=EB=B3=80=EA=B2=BD(=ED=85=8C?= =?UTF-8?q?=EC=8A=A4=ED=8A=B8=EC=9A=A9)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../application/service/ProcessCompletedEventService.java | 4 ++-- .../application/service/SignUpOwnerByDefaultService.java | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/main/java/com/daon/onjung/event/application/service/ProcessCompletedEventService.java b/src/main/java/com/daon/onjung/event/application/service/ProcessCompletedEventService.java index 80ea983..f2cc0dd 100644 --- a/src/main/java/com/daon/onjung/event/application/service/ProcessCompletedEventService.java +++ b/src/main/java/com/daon/onjung/event/application/service/ProcessCompletedEventService.java @@ -93,8 +93,8 @@ public void execute(Long eventId) { applicationEventPublisher.publishEvent( scheduledEventJobService.createScheduledJob( newEvent.getId(), - newEvent.getEndDate().plusDays(1).atStartOfDay() -// LocalDateTime.now().plusMinutes(1) // 테스트용 1분 뒤 +// newEvent.getEndDate().plusDays(1).atStartOfDay() + LocalDateTime.now().plusMinutes(1) // 테스트용 1분 뒤 ) ); diff --git a/src/main/java/com/daon/onjung/security/application/service/SignUpOwnerByDefaultService.java b/src/main/java/com/daon/onjung/security/application/service/SignUpOwnerByDefaultService.java index ab00fe0..fd923c2 100644 --- a/src/main/java/com/daon/onjung/security/application/service/SignUpOwnerByDefaultService.java +++ b/src/main/java/com/daon/onjung/security/application/service/SignUpOwnerByDefaultService.java @@ -118,8 +118,8 @@ public void execute(MultipartFile logo, applicationEventPublisher.publishEvent( scheduledEventJobService.createScheduledJob( event.getId(), - event.getEndDate().plusDays(1).atStartOfDay() -// LocalDateTime.now().plusMinutes(1) // 테스트용 1분 뒤 +// event.getEndDate().plusDays(1).atStartOfDay() + LocalDateTime.now().plusMinutes(1) // 테스트용 1분 뒤 ) );