From dd67a2f8c5dabdba394b497085e1227708f405dd Mon Sep 17 00:00:00 2001 From: kangsunlee Date: Wed, 23 Jul 2025 17:07:58 +0900 Subject: [PATCH] =?UTF-8?q?[FO]=20=EC=9D=80=ED=96=89=EC=9E=90=EB=8F=99?= =?UTF-8?q?=EC=9D=B4=EC=B2=B4=EB=82=B4=EC=97=AD=20=EB=93=B1=EB=A1=9D=20?= =?UTF-8?q?=EC=99=84=EB=A3=8C=20=ED=9B=84=20=ED=95=B4=EB=8B=B9=20=EC=9B=94?= =?UTF-8?q?=EB=A1=9C=20=EC=9D=B4=EB=8F=99=EB=90=98=EB=8F=84=EB=A1=9D=20?= =?UTF-8?q?=EC=88=98=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../adapters/web/AutoSchedulesController.java | 7 +++---- front/src/main/resources/templates/info/bank/input.html | 2 +- front/src/main/resources/templates/info/bank/output.html | 2 +- 3 files changed, 5 insertions(+), 6 deletions(-) diff --git a/admin/src/main/java/app/module/admin/usecase/schedule/autoSchedules/adapters/web/AutoSchedulesController.java b/admin/src/main/java/app/module/admin/usecase/schedule/autoSchedules/adapters/web/AutoSchedulesController.java index c0e8ade6..93bb7960 100644 --- a/admin/src/main/java/app/module/admin/usecase/schedule/autoSchedules/adapters/web/AutoSchedulesController.java +++ b/admin/src/main/java/app/module/admin/usecase/schedule/autoSchedules/adapters/web/AutoSchedulesController.java @@ -2,13 +2,11 @@ package app.module.admin.usecase.schedule.autoSchedules.adapters.web; import app.module.admin.usecase.batchCheck.ports.BatchCheckPortIn; import app.module.admin.usecase.batchCheck.ports.application.domain.BatchCheckInCmd; -import app.module.admin.usecase.batchLog.ports.BatchLogPortIn; import app.module.admin.usecase.batchLog.ports.application.domain.BatchLogType; import app.module.admin.usecase.schedule.autoSchedules.ports.AutoSchedulesPortIn; import java.util.Date; import lombok.extern.slf4j.Slf4j; import org.springframework.beans.factory.annotation.Value; -import org.springframework.dao.DuplicateKeyException; import org.springframework.scheduling.annotation.Scheduled; import org.springframework.stereotype.Component; @@ -31,6 +29,7 @@ public class AutoSchedulesController { } /** + * 월별입력상태 등록 * 매 월 1일 0초 마다 실행되는 스케줄러 */ @@ -67,12 +66,12 @@ public class AutoSchedulesController { * 문자자동발송 등록 * 매일 오후 5시 마다 실행되는 스케줄러 */ - @Scheduled(cron = "0 0 17 * * ?") + @Scheduled(cron = "0 0 18 * * ?") public void fetchSmsAutoSend() { String methodName = "fetchSmsAutoSend"; if (!schedulerEnabled) { - log.info("{} 는 local 환경에서는 실행되지 않습니다. (현재: {})", methodName, activeProfiles); + log.info("{} 는 local 환경에서는 실행되지 않습니다 2. (현재: {})", methodName, activeProfiles); return; } diff --git a/front/src/main/resources/templates/info/bank/input.html b/front/src/main/resources/templates/info/bank/input.html index d6988705..f96b3c04 100644 --- a/front/src/main/resources/templates/info/bank/input.html +++ b/front/src/main/resources/templates/info/bank/input.html @@ -550,7 +550,7 @@ if (rstData.code === 'SUCCESS') { ajaxUtil._alert('등록이 완료되었습니다.', null, function () { - location.href = '/info/bank'; + location.href = '/info/bank/' + ENV.data.currentMonth; }); } else if (rstData.code === 'ERROR') { ajaxUtil._alert('잠시 뒤에 다시 시도해 주세요.', null); diff --git a/front/src/main/resources/templates/info/bank/output.html b/front/src/main/resources/templates/info/bank/output.html index 3c838f08..2609e35f 100644 --- a/front/src/main/resources/templates/info/bank/output.html +++ b/front/src/main/resources/templates/info/bank/output.html @@ -529,7 +529,7 @@ if (rstData.code === 'SUCCESS') { ajaxUtil._alert('등록이 완료되었습니다.', null, function () { - location.href = '/info/bank'; + location.href = '/info/bank/' + ENV.data.currentMonth; }); } else if (rstData.code === 'ERROR') { ajaxUtil._alert('잠시 뒤에 다시 시도해 주세요.', null);