|
|
@@ -102,13 +102,18 @@ public class TsaCustomerService {
|
|
|
|
|
|
// 이메일 변경시 유효성 체크
|
|
|
if ("Y".equals(customer.getEmailModifyYn())) {
|
|
|
- isDupEmail = getCustomerByEmail(customer.getCustNo(), customer.getEmail());
|
|
|
+ isDupEmail = getCustomerByEmail(customer.getCustNo(), customer.getEmail());
|
|
|
}
|
|
|
|
|
|
if (isDupEmail) {
|
|
|
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);
|
|
|
@@ -124,8 +129,6 @@ public class TsaCustomerService {
|
|
|
|
|
|
// 3.고객정보 수정
|
|
|
customerDao.updateCustomerInfo(customer);
|
|
|
- // 4.생년월일 수정
|
|
|
- customerDao.saveBatchBirth(customer);
|
|
|
|
|
|
}
|
|
|
|