fuxingfan 3 anos atrás
pai
commit
1dc853c7a8

+ 2
- 1
src/main/java/com/yunzhi/marketing/service/impl/TaRecommendCustomerServiceImpl.java Ver arquivo

@@ -1526,7 +1526,8 @@ public class TaRecommendCustomerServiceImpl extends ServiceImpl<TaRecommendCusto
1526 1526
         // 4.校验公客是否已经是分配项目下的私客
1527 1527
         QueryWrapper<TaRecommendCustomer> customerQueryWrapper2 = new QueryWrapper<>();
1528 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 1531
         customerQueryWrapper2.eq("building_id", taPersonBuilding.getBuildingId());
1531 1532
         customerQueryWrapper2.eq("status", CommConstant.CUSTOMER_REPORT);
1532 1533
         customerQueryWrapper2.eq("verify_status", CommConstant.VERIFY_AGREE);