|
|
@@ -597,5 +597,39 @@ public class TscMailService {
|
|
|
// Do nothing
|
|
|
}
|
|
|
}
|
|
|
+
|
|
|
+ /**
|
|
|
+ * 무통장 입금 요청
|
|
|
+ *
|
|
|
+ * @param GagaMap
|
|
|
+ * @param Integer
|
|
|
+ * @author jsh77b
|
|
|
+ * @since 2021. 06. 25
|
|
|
+ */
|
|
|
+ @Transactional("shopTxnManager")
|
|
|
+ public void sendVaDepositRequest(GagaMap replaceInfo, Integer senderNo) {
|
|
|
+
|
|
|
+ Order orderInfo = (Order)replaceInfo.get("orderInfo");
|
|
|
+
|
|
|
+ // 주문 결제 완료 메일 발송
|
|
|
+ netpathyMailSender.send(NetpathyMailSender.MailAnswerSq.VA_DEPOSIT_REQUEST.value(), orderInfo.getOrdEmail(), replaceInfo);
|
|
|
+
|
|
|
+ try {
|
|
|
+ if (replaceInfo.getInt("custNo") > 0) {
|
|
|
+ // 고객접촉이력 정보
|
|
|
+ CustContactHst custContactHst = new CustContactHst();
|
|
|
+ custContactHst.setContactType(TscConstants.ContactType.CANCEL_INFO.value()); // 접촉유형:주문-취소안내(공통코드G054)
|
|
|
+ custContactHst.setContactMethod(TscConstants.ContactMethod.EMAIL.value()); // 접촉방법:알림톡+문자(공통코드G055)
|
|
|
+ custContactHst.setContactContents("주문-결제안내");
|
|
|
+ custContactHst.setReceiverNo(replaceInfo.getInt("custNo"));
|
|
|
+ custContactHst.setSenderNo(senderNo);
|
|
|
+ custContactHst.setRegNo(senderNo);
|
|
|
+ coreCustomerService.createCustomerContactHistory(custContactHst);
|
|
|
+ }
|
|
|
+ } catch (Exception e) {
|
|
|
+ log.error("error", e);
|
|
|
+ // Do nothing
|
|
|
+ }
|
|
|
+ }
|
|
|
|
|
|
}
|