|
@@ -49,7 +49,7 @@ public class TsbCustomerService {
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
/**
|
|
/**
|
|
|
- * 휴면전환예정 메일 발송 대상
|
|
|
|
|
|
|
+ * 휴면전환예정 안내 메일 발송 대상
|
|
|
*
|
|
*
|
|
|
* @param customerCollection - 대상
|
|
* @param customerCollection - 대상
|
|
|
* @return int - 성공여부
|
|
* @return int - 성공여부
|
|
@@ -76,6 +76,7 @@ public class TsbCustomerService {
|
|
|
CustContactHst custContactHst = new CustContactHst();
|
|
CustContactHst custContactHst = new CustContactHst();
|
|
|
custContactHst.setContactType(TscConstants.ContactType.DORMANT_EXPECTED.value());
|
|
custContactHst.setContactType(TscConstants.ContactType.DORMANT_EXPECTED.value());
|
|
|
custContactHst.setContactMethod(TscConstants.ContactMethod.KAKAOTALK.value());
|
|
custContactHst.setContactMethod(TscConstants.ContactMethod.KAKAOTALK.value());
|
|
|
|
|
+ custContactHst.setContactContents("휴면전환예정 안내");
|
|
|
custContactHst.setSenderNo(TsbConstants.REG_NO);
|
|
custContactHst.setSenderNo(TsbConstants.REG_NO);
|
|
|
custContactHst.setReceiverNo(customer.getCustNo());
|
|
custContactHst.setReceiverNo(customer.getCustNo());
|
|
|
custContactHst.setRegNo(TsbConstants.REG_NO);
|
|
custContactHst.setRegNo(TsbConstants.REG_NO);
|
|
@@ -212,6 +213,7 @@ public class TsbCustomerService {
|
|
|
CustContactHst custContactHst = new CustContactHst();
|
|
CustContactHst custContactHst = new CustContactHst();
|
|
|
custContactHst.setContactType(TscConstants.ContactType.PRIVACY_POLICY.value());
|
|
custContactHst.setContactType(TscConstants.ContactType.PRIVACY_POLICY.value());
|
|
|
custContactHst.setContactMethod(TscConstants.ContactMethod.EMAIL.value());
|
|
custContactHst.setContactMethod(TscConstants.ContactMethod.EMAIL.value());
|
|
|
|
|
+ custContactHst.setContactContents("개인정보 이용내역 안내 발송");
|
|
|
custContactHst.setSenderNo(TsbConstants.REG_NO);
|
|
custContactHst.setSenderNo(TsbConstants.REG_NO);
|
|
|
custContactHst.setReceiverNo(customer.getCustNo());
|
|
custContactHst.setReceiverNo(customer.getCustNo());
|
|
|
custContactHst.setRegNo(TsbConstants.REG_NO);
|
|
custContactHst.setRegNo(TsbConstants.REG_NO);
|
|
@@ -221,6 +223,7 @@ public class TsbCustomerService {
|
|
|
succCnt++;
|
|
succCnt++;
|
|
|
|
|
|
|
|
} catch (Exception e) {
|
|
} catch (Exception e) {
|
|
|
|
|
+ log.error(e.getMessage());
|
|
|
failCnt++;
|
|
failCnt++;
|
|
|
}
|
|
}
|
|
|
}
|
|
}
|
|
@@ -264,6 +267,7 @@ public class TsbCustomerService {
|
|
|
CustContactHst custContactHst = new CustContactHst();
|
|
CustContactHst custContactHst = new CustContactHst();
|
|
|
custContactHst.setContactType(TscConstants.ContactType.MARKETING_AGREE.value());
|
|
custContactHst.setContactType(TscConstants.ContactType.MARKETING_AGREE.value());
|
|
|
custContactHst.setContactMethod(TscConstants.ContactMethod.EMAIL.value());
|
|
custContactHst.setContactMethod(TscConstants.ContactMethod.EMAIL.value());
|
|
|
|
|
+ custContactHst.setContactContents("마케팅 정보 수신동의 내역 안내");
|
|
|
custContactHst.setSenderNo(TsbConstants.REG_NO);
|
|
custContactHst.setSenderNo(TsbConstants.REG_NO);
|
|
|
custContactHst.setReceiverNo(customer.getCustNo());
|
|
custContactHst.setReceiverNo(customer.getCustNo());
|
|
|
custContactHst.setRegNo(TsbConstants.REG_NO);
|
|
custContactHst.setRegNo(TsbConstants.REG_NO);
|