|
@@ -197,8 +197,8 @@ public class TaPersonVisitRecordServiceImpl extends ServiceImpl<TaPersonVisitRec
|
197
|
197
|
QueryWrapper<TaRecommendCustomer> queryWrapper = new QueryWrapper();
|
198
|
198
|
queryWrapper.eq("realty_consultant",e.getConsultantId());
|
199
|
199
|
queryWrapper.eq("person_id",e.getPersonId());
|
200
|
|
- TaRecommendCustomer taRecommendCustomer = taRecommendCustomerMapper.selectOne(queryWrapper);
|
201
|
|
- if (null != taRecommendCustomer){
|
|
200
|
+ List<TaRecommendCustomer> taRecommendCustomer = taRecommendCustomerMapper.selectList(queryWrapper);
|
|
201
|
+ if (taRecommendCustomer.size() > 0){
|
202
|
202
|
//1是我的客户
|
203
|
203
|
e.setMyCustomer(CommConstant.STATUS_NORMAL);
|
204
|
204
|
}
|