|
|
@ -90,6 +90,8 @@ public class PaCustomerServiceImpl extends BaseServiceImpl<PaCustomerDao, PaCust |
|
|
|
private CustomerMpService customerMpService; |
|
|
|
@Autowired |
|
|
|
private CpUserDetailRedis cpUserDetailRedis; |
|
|
|
@Autowired |
|
|
|
private PaCustomerDao paCustomerDao; |
|
|
|
|
|
|
|
@Override |
|
|
|
public PageData<PaCustomerDTO> page(Map<String, Object> params) { |
|
|
@ -533,6 +535,15 @@ public class PaCustomerServiceImpl extends BaseServiceImpl<PaCustomerDao, PaCust |
|
|
|
throw new RenException(PaConstant.UPDATE_CUSTOMER_EXCEPTION); |
|
|
|
} |
|
|
|
|
|
|
|
//5.修改pa_customer表初始化状态
|
|
|
|
PaCustomerDTO paCustomer = new PaCustomerDTO(); |
|
|
|
paCustomer.setIsInitialize(NumConstant.ONE); |
|
|
|
paCustomer.setId(formDTO.getNewCustomerId()); |
|
|
|
if (paCustomerDao.updateCustomerById(paCustomer) < NumConstant.ONE){ |
|
|
|
logger.error(String.format("修改pa_customer表初始化状态失败,待修改初始化状态的客户Id为->%s", paCustomer.getId())); |
|
|
|
throw new RenException(PaConstant.UPDATE_ISINITIALIZE_EXCEPTION); |
|
|
|
} |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
} |