|
@@ -5,6 +5,7 @@ import com.style24.admin.biz.dao.TsaCustomerDao;
|
|
|
import com.style24.admin.support.security.session.TsaSession;
|
|
import com.style24.admin.support.security.session.TsaSession;
|
|
|
import com.style24.core.biz.service.TscCustomerService;
|
|
import com.style24.core.biz.service.TscCustomerService;
|
|
|
import com.style24.core.support.env.TscConstants;
|
|
import com.style24.core.support.env.TscConstants;
|
|
|
|
|
+import com.style24.core.support.util.CryptoUtils;
|
|
|
import com.style24.persistence.domain.Counsel;
|
|
import com.style24.persistence.domain.Counsel;
|
|
|
import com.style24.persistence.domain.Coupon;
|
|
import com.style24.persistence.domain.Coupon;
|
|
|
import com.style24.persistence.domain.CustContactHst;
|
|
import com.style24.persistence.domain.CustContactHst;
|
|
@@ -89,6 +90,13 @@ public class TsaCustomerService {
|
|
|
customer.setRegNo(userNo);
|
|
customer.setRegNo(userNo);
|
|
|
customer.setUpdNo(userNo);
|
|
customer.setUpdNo(userNo);
|
|
|
|
|
|
|
|
|
|
+ customer.setCustNm(CryptoUtils.encryptAES(customer.getCustNm()));
|
|
|
|
|
+ customer.setBirthYmd(CryptoUtils.encryptAES(customer.getBirthYmd()));
|
|
|
|
|
+ customer.setEmail(CryptoUtils.encryptAES(customer.getEmail()));
|
|
|
|
|
+ customer.setCellPhnno(CryptoUtils.encryptAES(customer.getCellPhnno()));
|
|
|
|
|
+ customer.setHomeBaseAddr(CryptoUtils.encryptAES(customer.getHomeBaseAddr()));
|
|
|
|
|
+ customer.setHomeDtlAddr(CryptoUtils.encryptAES(customer.getHomeDtlAddr()));
|
|
|
|
|
+
|
|
|
// 고객 이력 생성
|
|
// 고객 이력 생성
|
|
|
coreCustomerService.createCustomerHistory(customer);
|
|
coreCustomerService.createCustomerHistory(customer);
|
|
|
|
|
|