|
@@ -325,16 +325,17 @@ public class TaRecommendCustomerServiceImpl extends ServiceImpl<TaRecommendCusto
|
325
|
325
|
TaPerson conPerson = taPersonMapper.selectById(result.get(0).getRealtyConsultant());
|
326
|
326
|
if (null != conPerson){
|
327
|
327
|
if(params.getString("realtyConsultant").equals(conPerson.getPersonId())){
|
328
|
|
- ResponseBean.success(result.get(0));
|
|
328
|
+ ResponseBean.success("bound");
|
329
|
329
|
}
|
330
|
330
|
conName = conPerson.getName();
|
331
|
331
|
}else {
|
332
|
332
|
TaUser conUser = userService.getById(result.get(0).getRealtyConsultant());
|
333
|
333
|
if(null != conUser){
|
334
|
|
- conName = conUser.getUserName();
|
335
|
334
|
if(params.getString("realtyConsultant").equals(conUser.getUserId().toString())){
|
336
|
|
- ResponseBean.success(result.get(0));
|
|
335
|
+ ResponseBean.success("bound");
|
337
|
336
|
}
|
|
337
|
+ conName = conUser.getUserName();
|
|
338
|
+
|
338
|
339
|
}
|
339
|
340
|
}
|
340
|
341
|
return ResponseBean.error("您在当前项目的置业顾问是:"+conName, ResponseBean.ERROR_ILLEGAL_PARAMS);
|