|
|
@ -39,10 +39,11 @@ public class OutsideReqServiceImpl implements OutsideReqService {
|
|
|
|
public void pushClue(String appKey, DBPushClueDTO dbPushClueDTO) {
|
|
|
|
public void pushClue(String appKey, DBPushClueDTO dbPushClueDTO) {
|
|
|
|
log.info("推送appKey:{},推送信息:{}", appKey, dbPushClueDTO);
|
|
|
|
log.info("推送appKey:{},推送信息:{}", appKey, dbPushClueDTO);
|
|
|
|
if (dbPushClueDTO != null && (dbPushClueDTO.getMobile() != null || dbPushClueDTO.getCalled() != null)) {
|
|
|
|
if (dbPushClueDTO != null && (dbPushClueDTO.getMobile() != null || dbPushClueDTO.getCalled() != null)) {
|
|
|
|
String mobileDecodeStr = null;
|
|
|
|
String mobileDecodeStr;
|
|
|
|
String remark = dbPushClueDTO.getRemark();
|
|
|
|
String remark = dbPushClueDTO.getRemark();
|
|
|
|
String empClientTypeName = dbPushClueDTO.getEmpClientTypeName();
|
|
|
|
String empClientTypeName = dbPushClueDTO.getEmpClientTypeName();
|
|
|
|
String called = dbPushClueDTO.getCalled();
|
|
|
|
String called = dbPushClueDTO.getCalled();
|
|
|
|
|
|
|
|
Long variable = dbPushClueDTO.getVariable();
|
|
|
|
|
|
|
|
|
|
|
|
try {
|
|
|
|
try {
|
|
|
|
if (StringUtils.isNotBlank(dbPushClueDTO.getMobile())) {
|
|
|
|
if (StringUtils.isNotBlank(dbPushClueDTO.getMobile())) {
|
|
|
@ -59,7 +60,7 @@ public class OutsideReqServiceImpl implements OutsideReqService {
|
|
|
|
}
|
|
|
|
}
|
|
|
|
// 添加线索
|
|
|
|
// 添加线索
|
|
|
|
boolean bool = MobileUtil.checkPhone(mobileDecodeStr);
|
|
|
|
boolean bool = MobileUtil.checkPhone(mobileDecodeStr);
|
|
|
|
if (bool) syncTaskService.pushClueExecuteTask(appKey, mobileDecodeStr, remark);
|
|
|
|
if (bool) syncTaskService.pushClueExecuteTask(appKey, mobileDecodeStr, remark, variable);
|
|
|
|
else log.error("============号码非法============");
|
|
|
|
else log.error("============号码非法============");
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|