|
|
@@ -133,6 +133,7 @@ public class TsaCustomerService {
|
|
|
Integer userNo = TsaSession.getInfo().getUserNo();
|
|
|
customer.setRegNo(userNo);
|
|
|
customer.setUpdNo(userNo);
|
|
|
+ customer.encryptData();
|
|
|
coreCustomerService.createCustomerHistory(customer);
|
|
|
customerDao.updateCustomerCellPhnno(customer);
|
|
|
}
|
|
|
@@ -372,4 +373,20 @@ public class TsaCustomerService {
|
|
|
public String getTemporaryPassword(int length) {
|
|
|
return coreCustomerService.getTemporaryPassword(length);
|
|
|
}
|
|
|
+
|
|
|
+ /**
|
|
|
+ * 휴대전화 번호 조회
|
|
|
+ * @param cellPhnno - 고객 번호
|
|
|
+ * @return int - 고객 수
|
|
|
+ * @author jsshin
|
|
|
+ * @since 2021. 02. 23
|
|
|
+ */
|
|
|
+ public int getCustomerFindByCellPhone(String cellPhnno) {
|
|
|
+ CustomerSearch customerSearch = new CustomerSearch();
|
|
|
+ customerSearch.setSiteCd(TscConstants.Site.STYLE24.value());
|
|
|
+ customerSearch.setCellPhnno(cellPhnno);
|
|
|
+ customerSearch.encryptData();
|
|
|
+ return customerDao.getCustomerFindByCellPhone(customerSearch);
|
|
|
+ }
|
|
|
+
|
|
|
}
|