|
@@ -638,6 +638,7 @@ public class TaPersonServiceImpl extends ServiceImpl<TaPersonMapper, TaPerson> i
|
638
|
638
|
for (TaPerson taPerson:taPersonList){
|
639
|
639
|
QueryWrapper<TaRecommendCustomer> taRecommendCustomerQuery= new QueryWrapper<>();
|
640
|
640
|
taRecommendCustomerQuery.eq("recommend_person",taPerson.getPersonId());
|
|
641
|
+ taRecommendCustomerQuery.eq("status",1);
|
641
|
642
|
/*推荐客户总数*/
|
642
|
643
|
int recommendCount= taRecommendCustomerMapper.selectCount(taRecommendCustomerQuery);
|
643
|
644
|
taPerson.setRecommendCount(recommendCount);
|