|
|
@@ -119,11 +119,16 @@ public class TscKakaotalkService {
|
|
|
custId = "YES24 간편가입회원";
|
|
|
}
|
|
|
|
|
|
+ String cpnNm = "";
|
|
|
+ if (coupon != null) {
|
|
|
+ cpnNm = coupon.getCpnNm();
|
|
|
+ }
|
|
|
+
|
|
|
GagaMap replaceInfo = new GagaMap();
|
|
|
replaceInfo.setString("siteNm", siteNm);
|
|
|
replaceInfo.setString("custNm", customer.getCustNm());
|
|
|
replaceInfo.setString("custId", custId);
|
|
|
- replaceInfo.setString("cpnNm", coupon.getCpnNm());
|
|
|
+ replaceInfo.setString("cpnNm", cpnNm);
|
|
|
replaceInfo.setString("joinDt", today);
|
|
|
|
|
|
replaceInfo.set("custNo", customer.getCustNo());
|
|
|
@@ -401,9 +406,9 @@ public class TscKakaotalkService {
|
|
|
dm.setFuserid(String.valueOf(senderNo)); // 발송자NO
|
|
|
dm.setFdestine(customer.getCellPhnno());
|
|
|
dm.setFkkoresendtype("LMS");
|
|
|
- String emailAgreeYn = "Y".equals(customer.getEmailAgreeYn()) ? "수신":"미수신";
|
|
|
- String smsAgreeYn = "Y".equals(customer.getSmsAgreeYn()) ? "수신":"미수신";
|
|
|
- String mkAgreeYn = "Y".equals(customer.getMkAgreeYn()) ? "수신":"미수신";
|
|
|
+ String emailAgreeYn = "Y".equals(customer.getEmailAgreeYn()) ? "수신동의" : "미동의";
|
|
|
+ String smsAgreeYn = "Y".equals(customer.getSmsAgreeYn()) ? "수신동의" : "미동의";
|
|
|
+ String mkAgreeYn = "Y".equals(customer.getMkAgreeYn()) ? "수신동의" : "미동의";
|
|
|
|
|
|
GagaMap replaceInfo = new GagaMap();
|
|
|
replaceInfo.setString("siteNm", siteNm);
|