|
@@ -14,6 +14,8 @@ import org.springframework.stereotype.Service;
|
|
|
import org.springframework.transaction.annotation.Transactional;
|
|
import org.springframework.transaction.annotation.Transactional;
|
|
|
|
|
|
|
|
import com.fasterxml.jackson.databind.ObjectMapper;
|
|
import com.fasterxml.jackson.databind.ObjectMapper;
|
|
|
|
|
+import com.gagaframework.web.parameter.GagaMap;
|
|
|
|
|
+import com.gagaframework.web.security.GagaPasswordEncoder;
|
|
|
import com.style24.core.biz.service.TscCustomerService;
|
|
import com.style24.core.biz.service.TscCustomerService;
|
|
|
import com.style24.core.biz.service.TscKakaotalkService;
|
|
import com.style24.core.biz.service.TscKakaotalkService;
|
|
|
import com.style24.core.biz.service.TscMailService;
|
|
import com.style24.core.biz.service.TscMailService;
|
|
@@ -36,9 +38,6 @@ import com.style24.persistence.domain.WishList;
|
|
|
|
|
|
|
|
import lombok.extern.slf4j.Slf4j;
|
|
import lombok.extern.slf4j.Slf4j;
|
|
|
|
|
|
|
|
-import com.gagaframework.web.parameter.GagaMap;
|
|
|
|
|
-import com.gagaframework.web.security.GagaPasswordEncoder;
|
|
|
|
|
-
|
|
|
|
|
/**
|
|
/**
|
|
|
* 고객(회원) Service
|
|
* 고객(회원) Service
|
|
|
*
|
|
*
|
|
@@ -445,10 +444,13 @@ public class TsfCustomerService {
|
|
|
resultMap.setString("custStat", "DUP_PHONE_CUST"); // 휴대폰 중복
|
|
resultMap.setString("custStat", "DUP_PHONE_CUST"); // 휴대폰 중복
|
|
|
return resultMap;
|
|
return resultMap;
|
|
|
}
|
|
}
|
|
|
- boolean isFindByEmail = getCustomerFindByEmailCount(custSnsInfo.getEmail());
|
|
|
|
|
- if (isFindByEmail) {
|
|
|
|
|
- resultMap.setString("custStat", "DUP_EMAIL_CUST"); // 이메일 중복
|
|
|
|
|
- return resultMap;
|
|
|
|
|
|
|
+ // 2021.12.06 card007 이메일 없을 시 패스
|
|
|
|
|
+ if (StringUtils.isNotBlank(custSnsInfo.getEmail())) {
|
|
|
|
|
+ boolean isFindByEmail = getCustomerFindByEmailCount(custSnsInfo.getEmail());
|
|
|
|
|
+ if (isFindByEmail) {
|
|
|
|
|
+ resultMap.setString("custStat", "DUP_EMAIL_CUST"); // 이메일 중복
|
|
|
|
|
+ return resultMap;
|
|
|
|
|
+ }
|
|
|
}
|
|
}
|
|
|
Customer customer = objectMapper.convertValue(custSnsInfo, Customer.class);
|
|
Customer customer = objectMapper.convertValue(custSnsInfo, Customer.class);
|
|
|
boolean isJoin = saveJoinCustomerSns(customer);
|
|
boolean isJoin = saveJoinCustomerSns(customer);
|