|
|
@@ -264,7 +264,11 @@ public class TsfCustomerService {
|
|
|
customer.setCustStat(TscConstants.CustStat.ACTIVE.value());
|
|
|
customer.setCustGb(TscConstants.CustGb.NORMAL.value());
|
|
|
customer.setCustGrade(TscConstants.CustGrade.WELCOME.value());
|
|
|
-
|
|
|
+ // 앱이면 앱푸시 기본값으로 수신동의 처리
|
|
|
+ String isApp = TsfSession.getAttribute("isApp");
|
|
|
+ if ("true".equals(isApp)) {
|
|
|
+ customer.setAppAgreeYn("Y");
|
|
|
+ }
|
|
|
int custCnt = customerDao.createCustomer(customer);
|
|
|
customerDao.saveBatchBirth(customer);
|
|
|
|
|
|
@@ -298,6 +302,11 @@ public class TsfCustomerService {
|
|
|
customer.setCustStat(TscConstants.CustStat.ACTIVE.value());
|
|
|
customer.setCustGb(TscConstants.CustGb.NORMAL.value());
|
|
|
customer.setCustGrade(TscConstants.CustGrade.WELCOME.value());
|
|
|
+ // 앱이면 앱푸시 기본값으로 수신동의 처리
|
|
|
+ String isApp = TsfSession.getAttribute("isApp");
|
|
|
+ if ("true".equals(isApp)) {
|
|
|
+ customer.setAppAgreeYn("Y");
|
|
|
+ }
|
|
|
|
|
|
int custCnt = customerDao.createCustomer(customer);
|
|
|
customerDao.createCustomerSns(customer);
|