|
|
@@ -58,9 +58,6 @@ public class TsfCustomerService {
|
|
|
@Autowired
|
|
|
private TsfCouponService couponService;
|
|
|
|
|
|
- @Autowired
|
|
|
- TscEnvsetService coreEnvsetService;
|
|
|
-
|
|
|
@Autowired
|
|
|
private ObjectMapper objectMapper;
|
|
|
|
|
|
@@ -146,13 +143,9 @@ public class TsfCustomerService {
|
|
|
* @since 2021. 02. 15
|
|
|
*/
|
|
|
public boolean getCustomerFindByCustIdCount(String custId) {
|
|
|
- // 재가입불가일
|
|
|
- int rejoinRejectDay = coreEnvsetService.getRejoinRejectDays(TscConstants.Site.STYLE24.value());
|
|
|
-
|
|
|
Customer customer = new Customer();
|
|
|
customer.setCustId(custId);
|
|
|
customer.setSiteCd(TscConstants.Site.STYLE24.value());
|
|
|
- customer.setRejoinRejectDay(rejoinRejectDay);
|
|
|
customer.encryptData();
|
|
|
|
|
|
int result = customerDao.getCustomerInfoCount(customer);
|
|
|
@@ -168,13 +161,9 @@ public class TsfCustomerService {
|
|
|
* @since 2021. 02. 15
|
|
|
*/
|
|
|
public boolean getCustomerFindByEmailCount(String email) {
|
|
|
-
|
|
|
- int rejoinRejectDay = coreEnvsetService.getRejoinRejectDays(TscConstants.Site.STYLE24.value());
|
|
|
-
|
|
|
Customer customer = new Customer();
|
|
|
customer.setEmail(email);
|
|
|
customer.setSiteCd(TscConstants.Site.STYLE24.value());
|
|
|
- customer.setRejoinRejectDay(rejoinRejectDay);
|
|
|
customer.encryptData();
|
|
|
|
|
|
int result = customerDao.getCustomerInfoCount(customer);
|
|
|
@@ -190,14 +179,10 @@ public class TsfCustomerService {
|
|
|
* @since 2021. 02. 15
|
|
|
*/
|
|
|
public boolean getCustomerFindByCellPhnnoCount(String cellPhnno) {
|
|
|
- // 재가입불가일
|
|
|
- int rejoinRejectDay = coreEnvsetService.getRejoinRejectDays(TscConstants.Site.STYLE24.value());
|
|
|
-
|
|
|
Customer customer = new Customer();
|
|
|
customer.setCellPhnno(cellPhnno);
|
|
|
customer.setHypenCellPhone(); // 010-0000-0000
|
|
|
customer.setSiteCd(TscConstants.Site.STYLE24.value());
|
|
|
- customer.setRejoinRejectDay(rejoinRejectDay);
|
|
|
customer.encryptData();
|
|
|
|
|
|
int result = customerDao.getCustomerInfoCount(customer);
|
|
|
@@ -213,13 +198,9 @@ public class TsfCustomerService {
|
|
|
* @since 2021. 02. 15
|
|
|
*/
|
|
|
public boolean getCustomerFindByCiCount(String ci) {
|
|
|
- // 재가입불가일
|
|
|
- int rejoinRejectDay = coreEnvsetService.getRejoinRejectDays(TscConstants.Site.STYLE24.value());
|
|
|
-
|
|
|
Customer customer = new Customer();
|
|
|
customer.setCi(ci);
|
|
|
customer.setSiteCd(TscConstants.Site.STYLE24.value());
|
|
|
- customer.setRejoinRejectDay(rejoinRejectDay);
|
|
|
customer.encryptData();
|
|
|
|
|
|
int result = customerDao.getCustomerInfoCount(customer);
|
|
|
@@ -235,14 +216,10 @@ public class TsfCustomerService {
|
|
|
* @since 2021. 02. 15
|
|
|
*/
|
|
|
public Customer getCustomerFindByCi(String ci) {
|
|
|
- // 재가입불가일
|
|
|
- int rejoinRejectDay = coreEnvsetService.getRejoinRejectDays(TscConstants.Site.STYLE24.value());
|
|
|
-
|
|
|
TscSession.setAttribute("maskingYn","Y");
|
|
|
Customer customer = new Customer();
|
|
|
customer.setCi(ci);
|
|
|
customer.setSiteCd(TscConstants.Site.STYLE24.value());
|
|
|
- customer.setRejoinRejectDay(rejoinRejectDay);
|
|
|
customer.encryptData();
|
|
|
|
|
|
return customerDao.getCustomerInfo(customer);
|
|
|
@@ -256,15 +233,11 @@ public class TsfCustomerService {
|
|
|
* @since 2021. 02. 15
|
|
|
*/
|
|
|
public Customer getCustomerFindByCellPhnno(String cellPhnno) {
|
|
|
- // 재가입불가일
|
|
|
- int rejoinRejectDay = coreEnvsetService.getRejoinRejectDays(TscConstants.Site.STYLE24.value());
|
|
|
-
|
|
|
TscSession.setAttribute("maskingYn","Y");
|
|
|
Customer customer = new Customer();
|
|
|
customer.setCellPhnno(cellPhnno);
|
|
|
customer.setHypenCellPhone(); // 010-0000-0000
|
|
|
customer.setSiteCd(TscConstants.Site.STYLE24.value());
|
|
|
- customer.setRejoinRejectDay(rejoinRejectDay);
|
|
|
customer.encryptData();
|
|
|
|
|
|
return customerDao.getCustomerInfo(customer);
|
|
|
@@ -557,13 +530,9 @@ public class TsfCustomerService {
|
|
|
* @since 2021. 03. 02
|
|
|
*/
|
|
|
String getMaxCustIdById(String custId) {
|
|
|
-
|
|
|
- int rejoinRejectDay = coreEnvsetService.getRejoinRejectDays(TscConstants.Site.STYLE24.value());
|
|
|
-
|
|
|
Customer customer = new Customer();
|
|
|
customer.setSiteCd(TscConstants.Site.STYLE24.value());
|
|
|
customer.setCustId(custId);
|
|
|
- customer.setRejoinRejectDay(rejoinRejectDay);
|
|
|
String maskingCustId = customerDao.getCustomerMaxCustId(customer);
|
|
|
|
|
|
maskingCustId = MaskingUtils.id(maskingCustId);
|
|
|
@@ -579,13 +548,9 @@ public class TsfCustomerService {
|
|
|
* @since 2021. 03. 02
|
|
|
*/
|
|
|
String getMaxCustIdByEmail(String email) {
|
|
|
-
|
|
|
- int rejoinRejectDay = coreEnvsetService.getRejoinRejectDays(TscConstants.Site.STYLE24.value());
|
|
|
-
|
|
|
Customer customer = new Customer();
|
|
|
customer.setSiteCd(TscConstants.Site.STYLE24.value());
|
|
|
customer.setEmail(email);
|
|
|
- customer.setRejoinRejectDay(rejoinRejectDay);
|
|
|
customer.encryptData();
|
|
|
String maskingCustId = customerDao.getCustomerMaxCustId(customer);
|
|
|
|
|
|
@@ -602,13 +567,9 @@ public class TsfCustomerService {
|
|
|
* @since 2021. 03. 02
|
|
|
*/
|
|
|
String getMaxCustIdByCellPhnno(String cellPhnno) {
|
|
|
-
|
|
|
- int rejoinRejectDay = coreEnvsetService.getRejoinRejectDays(TscConstants.Site.STYLE24.value());
|
|
|
-
|
|
|
Customer customer = new Customer();
|
|
|
customer.setSiteCd(TscConstants.Site.STYLE24.value());
|
|
|
customer.setCellPhnno(cellPhnno);
|
|
|
- customer.setRejoinRejectDay(rejoinRejectDay);
|
|
|
customer.encryptData();
|
|
|
|
|
|
String maskingCustId = customerDao.getCustomerMaxCustId(customer);
|
|
|
@@ -626,13 +587,9 @@ public class TsfCustomerService {
|
|
|
* @since 2021. 03. 02
|
|
|
*/
|
|
|
String getMaxCustIdByCi(String ci) {
|
|
|
-
|
|
|
- int rejoinRejectDay = coreEnvsetService.getRejoinRejectDays(TscConstants.Site.STYLE24.value());
|
|
|
-
|
|
|
Customer customer = new Customer();
|
|
|
customer.setSiteCd(TscConstants.Site.STYLE24.value());
|
|
|
customer.setCi(ci);
|
|
|
- customer.setRejoinRejectDay(rejoinRejectDay);
|
|
|
customer.encryptData();
|
|
|
|
|
|
String maskingCustId = customerDao.getCustomerMaxCustId(customer);
|