|
@@ -293,14 +293,14 @@ public class TaRecommendCustomerServiceImpl extends ServiceImpl<TaRecommendCusto
|
293
|
293
|
|
294
|
294
|
|
295
|
295
|
@Override
|
296
|
|
- public ResponseBean reportCust(String paramStr, String openid,Integer orgId,Boolean tips) {
|
|
296
|
+ public ResponseBean reportCust(String paramStr, String openid,Integer orgId) {
|
297
|
297
|
JSONObject params = JSONObject.parseObject(paramStr);
|
298
|
298
|
if (null == params) {
|
299
|
|
- return ResponseBean.error(tips ? "" : "解析参数失败", ResponseBean.ERROR_ILLEGAL_PARAMS);
|
|
299
|
+ return ResponseBean.error("解析参数失败", ResponseBean.ERROR_ILLEGAL_PARAMS);
|
300
|
300
|
}
|
301
|
301
|
List<TaPerson> taPersons = getPersonsByOpenId(openid);
|
302
|
302
|
if (null == taPersons || taPersons.size() != 1) {
|
303
|
|
- return ResponseBean.error(tips ? "" : "验证当前人员信息失败", ResponseBean.ERROR_UNAVAILABLE);
|
|
303
|
+ return ResponseBean.error("验证当前人员信息失败", ResponseBean.ERROR_UNAVAILABLE);
|
304
|
304
|
}
|
305
|
305
|
TaPerson taPerson = taPersons.get(0);
|
306
|
306
|
|
|
@@ -355,7 +355,7 @@ public class TaRecommendCustomerServiceImpl extends ServiceImpl<TaRecommendCusto
|
355
|
355
|
TaPerson currentPerson = taPersonMapper.selectOne(personQueryWrapper);
|
356
|
356
|
if(null != currentPerson){
|
357
|
357
|
if (currentPerson.getPersonType().equals(CommConstant.PERSON_REALTY_CONSULTANT)){
|
358
|
|
- return ResponseBean.error(tips ? "" : "置业顾问不可以绑定置业顾问", ResponseBean.ERROR_ILLEGAL_PARAMS);
|
|
358
|
+ return ResponseBean.error("置业顾问不可以绑定置业顾问", ResponseBean.ERROR_ILLEGAL_PARAMS);
|
359
|
359
|
}
|
360
|
360
|
taRecommendCustomer.setPersonId(currentPerson.getPersonId());
|
361
|
361
|
}
|
|
@@ -391,12 +391,12 @@ public class TaRecommendCustomerServiceImpl extends ServiceImpl<TaRecommendCusto
|
391
|
391
|
|
392
|
392
|
}
|
393
|
393
|
}
|
394
|
|
- return ResponseBean.error(tips ? "" : "您在当前项目的置业顾问是:"+conName, ResponseBean.ERROR_ILLEGAL_PARAMS);
|
|
394
|
+ return ResponseBean.error("您在当前项目的置业顾问是:"+conName, ResponseBean.ERROR_ILLEGAL_PARAMS);
|
395
|
395
|
}
|
396
|
396
|
|
397
|
397
|
int row = taRecommendCustomerMapper.insert(taRecommendCustomer);
|
398
|
398
|
if (row < 1) {
|
399
|
|
- return ResponseBean.error(tips ? "" : "报备客户失败", ResponseBean.ERROR_UNAVAILABLE);
|
|
399
|
+ return ResponseBean.error("报备客户失败", ResponseBean.ERROR_UNAVAILABLE);
|
400
|
400
|
}
|
401
|
401
|
|
402
|
402
|
// 找到销售经理,并推送消息
|