|
@@ -447,6 +447,7 @@ public class TaPersonServiceImpl extends ServiceImpl<TaPersonMapper, TaPerson> i
|
447
|
447
|
//经纪人所属渠道
|
448
|
448
|
QueryWrapper<TaChannelPerson> taChannelPersonQueryWrapper = new QueryWrapper<>();
|
449
|
449
|
taChannelPersonQueryWrapper.eq("person_id", taPerson.getPersonId());
|
|
450
|
+ taChannelPersonQueryWrapper.eq("status", CommConstant.STATUS_NORMAL);
|
450
|
451
|
TaChannelPerson taChannelPerson = taChannelPersonMapper.selectOne(taChannelPersonQueryWrapper);
|
451
|
452
|
|
452
|
453
|
if (taChannelPerson != null){
|
|
@@ -767,7 +768,7 @@ public class TaPersonServiceImpl extends ServiceImpl<TaPersonMapper, TaPerson> i
|
767
|
768
|
for (TaPerson taPerson:taPersonList){
|
768
|
769
|
QueryWrapper<TaRecommendCustomer> taRecommendCustomerQuery= new QueryWrapper<>();
|
769
|
770
|
taRecommendCustomerQuery.eq("recommend_person",taPerson.getPersonId());
|
770
|
|
- taRecommendCustomerQuery.eq("status",1);
|
|
771
|
+// taRecommendCustomerQuery.eq("status",1);
|
771
|
772
|
taRecommendCustomerQuery.eq("org_id", orgid);
|
772
|
773
|
/*推荐客户总数*/
|
773
|
774
|
int recommendCount= taRecommendCustomerMapper.selectCount(taRecommendCustomerQuery);
|