|
@@ -165,9 +165,13 @@ public class TscCustomerService {
|
|
|
public boolean saveDormantCustomerRelease(Customer customer) {
|
|
public boolean saveDormantCustomerRelease(Customer customer) {
|
|
|
// 1. 고객정보 이력 생성
|
|
// 1. 고객정보 이력 생성
|
|
|
customerDao.createCustomerHistory(customer);
|
|
customerDao.createCustomerHistory(customer);
|
|
|
|
|
+
|
|
|
// 2. 휴면해제처리
|
|
// 2. 휴면해제처리
|
|
|
int resultCnt = customerDao.updateDormantCustomerRelease(customer);
|
|
int resultCnt = customerDao.updateDormantCustomerRelease(customer);
|
|
|
|
|
|
|
|
|
|
+ // 3. 휴면 테이블 삭제
|
|
|
|
|
+ customerDao.deleteDormantCustomer(customer.getCustNo());
|
|
|
|
|
+
|
|
|
return resultCnt > 0;
|
|
return resultCnt > 0;
|
|
|
}
|
|
}
|
|
|
|
|
|