|
@@ -263,6 +263,7 @@ public class TaRecommendCustomerServiceImpl extends ServiceImpl<TaRecommendCusto
|
263
|
263
|
TaRecommendCustomer taRecommendCustomer = taRecommendCustomerMapper.getCustomerDetail(customerId);
|
264
|
264
|
if(!StringUtils.isEmpty(personId)){
|
265
|
265
|
taRecommendCustomer.setVisitRecords(taPersonVisitRecordMapper.visitRecordByPersonId(personId));
|
|
266
|
+ taRecommendCustomer.setVisitTimes(taPersonVisitRecordMapper.visitRecordByPersonId(personId).size());
|
266
|
267
|
}
|
267
|
268
|
if(!StringUtils.isEmpty(taRecommendCustomer.getRealtyConsultant())){
|
268
|
269
|
TaPerson consultant = taPersonMapper.getById(taRecommendCustomer.getRealtyConsultant());
|