修改百度智能外呼对接。
This commit is contained in:
parent
c28140b376
commit
079f3637db
@ -63,10 +63,10 @@ public interface IAIOBService {
|
||||
List<ImportTaskVo> importTask(ImportTaskDto importTaskDto);
|
||||
|
||||
/**
|
||||
* @description 任务单执行回调方法
|
||||
* @description 任务执行回调方法
|
||||
* @param callbackType 回调数据类型, 0-任务呼叫单通电话回调 1-号码组终态回调 2-任务状态变更回调 3-实时呼叫单通电话回调
|
||||
* @param data 任务单通电话回调传输data
|
||||
* @return null
|
||||
* @return JSONObject
|
||||
* @Author haown
|
||||
* @Date 2024-9-2 14:20
|
||||
*/
|
||||
|
||||
@ -343,10 +343,10 @@ public class AIOBServiceImpl implements IAIOBService {
|
||||
}
|
||||
|
||||
/**
|
||||
* @description 任务单执行回调方法
|
||||
* @description 任务执行回调方法
|
||||
* @param callbackType 回调数据类型, 0-任务呼叫单通电话回调 1-号码组终态回调 2-任务状态变更回调 3-实时呼叫单通电话回调
|
||||
* @param data 任务单通电话回调传输data
|
||||
* @return null
|
||||
* @return JSONObject
|
||||
* @Author haown
|
||||
* @Date 2024-9-2 14:20
|
||||
*/
|
||||
@ -380,7 +380,7 @@ public class AIOBServiceImpl implements IAIOBService {
|
||||
PhoneDialRecord phoneDialRecordQuery = new PhoneDialRecord();
|
||||
phoneDialRecordQuery.setManageRouteNodeId(signPatientManageRouteNode.getId());
|
||||
List<PhoneDialRecord> phoneDialRecordList = phoneDialRecordMapper.selectPhoneDialRecordList(phoneDialRecordQuery);
|
||||
if (CollectionUtils.isEmpty(phoneDialRecordList) || phoneDialRecordList.size() + 1 < PhoneRedialTimesEnum.getValueByInfo(signPatientManageRouteNode.getPhoneRedialTimes()).getValue()) {
|
||||
if ((CollectionUtils.isEmpty(phoneDialRecordList) && PhoneRedialTimesEnum.getValueByInfo(signPatientManageRouteNode.getPhoneRedialTimes()).getValue() > 0) || phoneDialRecordList.size() + 1 < PhoneRedialTimesEnum.getValueByInfo(signPatientManageRouteNode.getPhoneRedialTimes()).getValue()) {
|
||||
// 重拨
|
||||
needRedial = true;
|
||||
}
|
||||
@ -416,8 +416,8 @@ public class AIOBServiceImpl implements IAIOBService {
|
||||
|
||||
// 发送短信
|
||||
if (needSendSms) {
|
||||
System.out.println("发送短信-------------------------------------------");
|
||||
//sendSms(signPatientManageRoute.getPatientId(), signPatientManageRouteNode);
|
||||
//System.out.println("发送短信-------------------------------------------");
|
||||
sendSms(signPatientManageRoute.getPatientId(), signPatientManageRouteNode);
|
||||
}
|
||||
// 重拨
|
||||
if (needRedial) {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user