fuxingfan 3 年前
父节点
当前提交
1dc853c7a8
共有 1 个文件被更改,包括 2 次插入1 次删除
  1. 2
    1
      src/main/java/com/yunzhi/marketing/service/impl/TaRecommendCustomerServiceImpl.java

+ 2
- 1
src/main/java/com/yunzhi/marketing/service/impl/TaRecommendCustomerServiceImpl.java 查看文件

1526
         // 4.校验公客是否已经是分配项目下的私客
1526
         // 4.校验公客是否已经是分配项目下的私客
1527
         QueryWrapper<TaRecommendCustomer> customerQueryWrapper2 = new QueryWrapper<>();
1527
         QueryWrapper<TaRecommendCustomer> customerQueryWrapper2 = new QueryWrapper<>();
1528
         customerQueryWrapper2.eq("org_id", orgId);
1528
         customerQueryWrapper2.eq("org_id", orgId);
1529
-        customerQueryWrapper2.eq("person_id", customerInfo.getPersonId());
1529
+//        customerQueryWrapper2.eq("person_id", customerInfo.getPersonId());
1530
+        customerQueryWrapper2.eq("phone", customerInfo.getPhone());
1530
         customerQueryWrapper2.eq("building_id", taPersonBuilding.getBuildingId());
1531
         customerQueryWrapper2.eq("building_id", taPersonBuilding.getBuildingId());
1531
         customerQueryWrapper2.eq("status", CommConstant.CUSTOMER_REPORT);
1532
         customerQueryWrapper2.eq("status", CommConstant.CUSTOMER_REPORT);
1532
         customerQueryWrapper2.eq("verify_status", CommConstant.VERIFY_AGREE);
1533
         customerQueryWrapper2.eq("verify_status", CommConstant.VERIFY_AGREE);