|
|
|
|
341
|
*/
|
341
|
*/
|
342
|
@Override
|
342
|
@Override
|
343
|
public ResponseBean preparatoryCustomer(MarkingPreparatoryCustomerDTO params) {
|
343
|
public ResponseBean preparatoryCustomer(MarkingPreparatoryCustomerDTO params) {
|
|
|
344
|
+ CustomerPreparatory customerPreparatory = params.getCustomerPreparatory();
|
344
|
TaRecommendCustomer taRecommendCustomer = taRecommendCustomerMapper.selectById(params.getCustomerId());
|
345
|
TaRecommendCustomer taRecommendCustomer = taRecommendCustomerMapper.selectById(params.getCustomerId());
|
345
|
taRecommendCustomer.setStatus(CommConstant.CUSTOMER_PREPARATORY);
|
346
|
taRecommendCustomer.setStatus(CommConstant.CUSTOMER_PREPARATORY);
|
|
|
347
|
+ taRecommendCustomer.setRealtyConsultant(customerPreparatory.getRealtyConsultant());
|
346
|
taRecommendCustomerMapper.updateById(taRecommendCustomer);
|
348
|
taRecommendCustomerMapper.updateById(taRecommendCustomer);
|
347
|
|
349
|
|
348
|
LambdaQueryWrapper<ChannelCustomer> channelCustomerLambdaQueryWrapper = new LambdaQueryWrapper<>();
|
350
|
LambdaQueryWrapper<ChannelCustomer> channelCustomerLambdaQueryWrapper = new LambdaQueryWrapper<>();
|
|
|
|
|
353
|
channelCustomerMapper.updateById(customer);
|
355
|
channelCustomerMapper.updateById(customer);
|
354
|
}
|
356
|
}
|
355
|
|
357
|
|
356
|
- CustomerPreparatory customerPreparatory = params.getCustomerPreparatory();
|
|
|
357
|
customerPreparatory.setCreateDate(LocalDateTime.now());
|
358
|
customerPreparatory.setCreateDate(LocalDateTime.now());
|
358
|
customerPreparatory.setBuildingId(taRecommendCustomer.getBuildingId());
|
359
|
customerPreparatory.setBuildingId(taRecommendCustomer.getBuildingId());
|
359
|
customerPreparatory.setRecommendPerson(taRecommendCustomer.getRecommendPerson());
|
360
|
customerPreparatory.setRecommendPerson(taRecommendCustomer.getRecommendPerson());
|