|
|
@@ -3,10 +3,13 @@ package com.style24.batch.biz.task;
|
|
|
|
|
|
import com.style24.batch.biz.job.customer.TsbDormantTransformJob;
|
|
|
import com.style24.batch.biz.job.customer.TsbDormantScheduleJob;
|
|
|
+import com.style24.batch.biz.job.customer.TsbMarketingAgreementNoticeJob;
|
|
|
+import com.style24.batch.biz.job.customer.TsbPrivacyPolicyNoticeJob;
|
|
|
import com.style24.batch.biz.job.customer.TsbSecedeProcessJob;
|
|
|
import lombok.extern.slf4j.Slf4j;
|
|
|
import org.springframework.beans.factory.annotation.Autowired;
|
|
|
import org.springframework.scheduling.annotation.Async;
|
|
|
+import org.springframework.scheduling.annotation.Scheduled;
|
|
|
import org.springframework.stereotype.Component;
|
|
|
|
|
|
|
|
|
@@ -28,8 +31,15 @@ public class TsbCustomerTask {
|
|
|
@Autowired
|
|
|
TsbSecedeProcessJob secedeProcessJob;
|
|
|
|
|
|
+ @Autowired
|
|
|
+ TsbPrivacyPolicyNoticeJob privacyPolicyNoticeJob;
|
|
|
+
|
|
|
+ @Autowired
|
|
|
+ TsbMarketingAgreementNoticeJob marketingAgreementNoticeJob;
|
|
|
+
|
|
|
/**
|
|
|
* 휴면전환 예정 대상 메일 발송
|
|
|
+ *
|
|
|
* @throws Exception - 예외처리
|
|
|
* @author jsshin
|
|
|
* @since 2021. 03. 08
|
|
|
@@ -43,6 +53,7 @@ public class TsbCustomerTask {
|
|
|
|
|
|
/**
|
|
|
* 휴면전환
|
|
|
+ *
|
|
|
* @throws Exception - 예외처리
|
|
|
* @author jsshin
|
|
|
* @since 2021. 03. 08
|
|
|
@@ -56,6 +67,7 @@ public class TsbCustomerTask {
|
|
|
|
|
|
/**
|
|
|
* 탈퇴회원 처리
|
|
|
+ *
|
|
|
* @throws Exception - 예외처리
|
|
|
* @author jsshin
|
|
|
* @since 2021. 03. 08
|
|
|
@@ -67,5 +79,31 @@ public class TsbCustomerTask {
|
|
|
secedeProcessJob.runById("cron.customer.secede.process");
|
|
|
}
|
|
|
|
|
|
+ /**
|
|
|
+ * 개인정보 이용내역 안내 발송
|
|
|
+ *
|
|
|
+ * @throws Exception - 예외처리
|
|
|
+ * @author jsshin
|
|
|
+ * @since 2021. 05. 06
|
|
|
+ */
|
|
|
+ //@Scheduled(cron = "${cron.customer.privacy.policy.notice}")
|
|
|
+// @Scheduled(fixedDelay=360000)
|
|
|
+ @Async
|
|
|
+ public void privacyPolicyNoticeJob() throws Exception {
|
|
|
+ privacyPolicyNoticeJob.runById("cron.customer.privacy.policy.notice");
|
|
|
+ }
|
|
|
|
|
|
+ /**
|
|
|
+ * 마케팅 정보 수신동의 내역 안내 발송
|
|
|
+ *
|
|
|
+ * @throws Exception - 예외처리
|
|
|
+ * @author jsshin
|
|
|
+ * @since 2021. 05. 06
|
|
|
+ */
|
|
|
+ //@Scheduled(cron = "${cron.customer.marketing.agreement.notice}")
|
|
|
+// @Scheduled(fixedDelay=360000)
|
|
|
+ @Async
|
|
|
+ public void marketingAgreementNoticeJob() throws Exception {
|
|
|
+ marketingAgreementNoticeJob.runById("cron.customer.marketing.agreement.notice");
|
|
|
+ }
|
|
|
}
|