|
@@ -248,7 +248,7 @@ public class ChannelCustomerServiceImpl extends ServiceImpl<ChannelCustomerMappe
|
248
|
248
|
*/
|
249
|
249
|
@Override
|
250
|
250
|
public ResponseBean invalidCustomerUpdate(MarkingChannelCustomerDTO params) {// 渠道推荐的客户
|
251
|
|
- if ("channel".equals(params.getType())) {
|
|
251
|
+ if ("report".equals(params.getType())) {
|
252
|
252
|
ChannelCustomer customer = channelCustomerMapper.selectById(params.getId());
|
253
|
253
|
// 审核不通过 先查看在ta_recommend_customer 手机号是否存在
|
254
|
254
|
LambdaQueryWrapper<TaRecommendCustomer> queryWrapper = new LambdaQueryWrapper<>();
|
|
@@ -258,7 +258,7 @@ public class ChannelCustomerServiceImpl extends ServiceImpl<ChannelCustomerMappe
|
258
|
258
|
if (null != recommendCustomer) {
|
259
|
259
|
// 审核不通过
|
260
|
260
|
recommendCustomer.setRecommendPerson(customer.getRecommendPerson());
|
261
|
|
- recommendCustomer.setVerifyStatus(CommConstant.VERIFY_AGREE);
|
|
261
|
+ recommendCustomer.setVerifyStatus(CommConstant.VERIFY_DISAGREE);
|
262
|
262
|
recommendCustomer.setStatus(CommConstant.CUSTOMER_VISITE);
|
263
|
263
|
taRecommendCustomerMapper.updateById(recommendCustomer);
|
264
|
264
|
|