|
@@ -670,6 +670,15 @@ public class TaRecommendCustomerServiceImpl extends ServiceImpl<TaRecommendCusto
|
670
|
670
|
if(null != city){
|
671
|
671
|
taRecommendCustomer.setCity(city.getName());
|
672
|
672
|
}
|
|
673
|
+
|
|
674
|
+ //构造来源类型
|
|
675
|
+ taRecommendCustomer.setPersonFrom("");
|
|
676
|
+ if (null != taRecommendCustomer.getFromCode()){
|
|
677
|
+ QueryWrapper<TdPersonFrom> tdPersonFromQueryWrapper = new QueryWrapper<>();
|
|
678
|
+ tdPersonFromQueryWrapper.eq("from_code",taRecommendCustomer.getFromCode());
|
|
679
|
+ TdPersonFrom tdPersonFrom = tdPersonFromMapper.selectOne(tdPersonFromQueryWrapper);
|
|
680
|
+ taRecommendCustomer.setPersonFrom(null != tdPersonFrom ? tdPersonFrom.getFromName() : "");
|
|
681
|
+ }
|
673
|
682
|
}
|
674
|
683
|
return taRecommendCustomer;
|
675
|
684
|
}
|