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);