|
@@ -320,6 +320,7 @@ public class ChannelCustomerServiceImpl extends ServiceImpl<ChannelCustomerMappe
|
320
|
320
|
*/
|
321
|
321
|
@Override
|
322
|
322
|
public ResponseBean commissionCustomer(MarkingCommissionCustomerDTO params) {
|
|
323
|
+ CustomerSignatory customerSignatory = params.getCustomerSignatory();
|
323
|
324
|
TaRecommendCustomer taRecommendCustomer = taRecommendCustomerMapper.selectById(params.getCustomerId());
|
324
|
325
|
taRecommendCustomer.setStatus(CommConstant.CUSTOMER_COMMISSION);
|
325
|
326
|
taRecommendCustomerMapper.updateById(taRecommendCustomer);
|
|
@@ -330,6 +331,9 @@ public class ChannelCustomerServiceImpl extends ServiceImpl<ChannelCustomerMappe
|
330
|
331
|
customer.setCommissionDate(LocalDateTime.now());
|
331
|
332
|
channelCustomerMapper.updateById(customer);
|
332
|
333
|
|
|
334
|
+ customerSignatory.setCreateDate(LocalDateTime.now());
|
|
335
|
+ customerSignatory.setType("commission");
|
|
336
|
+ customerSignatoryMapper.insert(customerSignatory);
|
333
|
337
|
return ResponseBean.success("审核成功");
|
334
|
338
|
}
|
335
|
339
|
|
|
@@ -355,6 +359,7 @@ public class ChannelCustomerServiceImpl extends ServiceImpl<ChannelCustomerMappe
|
355
|
359
|
channelCustomerMapper.updateById(customer);
|
356
|
360
|
|
357
|
361
|
customerSignatory.setCreateDate(LocalDateTime.now());
|
|
362
|
+ customerSignatory.setType("signatory");
|
358
|
363
|
customerSignatoryMapper.insert(customerSignatory);
|
359
|
364
|
return ResponseBean.success("审核成功");
|
360
|
365
|
}
|