|
|
@@ -68,7 +68,8 @@ public class TscCustomerService {
|
|
|
* @since 2020. 01. 20
|
|
|
*/
|
|
|
@Transactional("shopTxnManager")
|
|
|
- public void updateCustomerPassword(Customer customer) {
|
|
|
+ public void saveCustomerPassword(Customer customer) {
|
|
|
+ customerDao.createCustomerHistory(customer);
|
|
|
customerDao.updateCustomerPassword(customer);
|
|
|
}
|
|
|
|
|
|
@@ -141,4 +142,16 @@ public class TscCustomerService {
|
|
|
}
|
|
|
|
|
|
|
|
|
+ /**
|
|
|
+ * 임시비밀번호 조회
|
|
|
+ * @param length - 비밀번호 자릿수
|
|
|
+ * @return 임시비밀번호
|
|
|
+ * @author jsshin
|
|
|
+ * @since 2021. 02. 15
|
|
|
+ */
|
|
|
+ public String getTemporaryPassword(int length) {
|
|
|
+ return customerDao.getTemporaryPassword(length);
|
|
|
+ }
|
|
|
+
|
|
|
+
|
|
|
}
|