|
|
@@ -15,7 +15,6 @@ import com.style24.persistence.domain.CustDeliveryAddr;
|
|
|
import com.style24.persistence.domain.CustGrade;
|
|
|
import com.style24.persistence.domain.Customer;
|
|
|
import com.style24.persistence.domain.CustomerSearch;
|
|
|
-import com.style24.persistence.domain.Delivery;
|
|
|
import com.style24.persistence.domain.GiftCard;
|
|
|
import com.style24.persistence.domain.Order;
|
|
|
import com.style24.persistence.domain.Point;
|
|
|
@@ -109,14 +108,10 @@ public class TsaCustomerService {
|
|
|
throw new IllegalStateException("이미 사용중인 이메일 입니다.");
|
|
|
}
|
|
|
|
|
|
- if (customer.getBirthYmd().length() == 8) {
|
|
|
- String birthMm = customer.getBirthYmd().substring(4, 6);
|
|
|
- customer.setBirthMm(birthMm);
|
|
|
- }
|
|
|
-
|
|
|
Integer userNo = TsaSession.getInfo().getUserNo();
|
|
|
customer.setRegNo(userNo);
|
|
|
customer.setUpdNo(userNo);
|
|
|
+ customer.initBirthMm();
|
|
|
customer.encryptData(); // 암호화 처리
|
|
|
|
|
|
// 1.고객 이력 생성
|