| | |
| | | package cn.gistack.sm.intelligentCall.feign; |
| | | |
| | | import cn.gistack.sm.intelligentCall.entity.CallNotFillRecord; |
| | | import cn.gistack.sm.intelligentCall.service.CallService; |
| | | import cn.gistack.sm.intelligentCall.service.ICallNotFillRecordService; |
| | | import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper; |
| | | import lombok.AllArgsConstructor; |
| | | import lombok.extern.slf4j.Slf4j; |
| | | import org.springblade.core.tenant.annotation.NonDS; |
| | |
| | | public class OutCallImplImplClient implements OutCallClient { |
| | | |
| | | private final CallService callService; |
| | | |
| | | private final ICallNotFillRecordService callNotFillerService; |
| | | |
| | | @Override |
| | | @GetMapping(CREATE_OUT_CALL_TASK_JOB_HANDLER) |
| | |
| | | // 创建定时任务并返回 |
| | | return "测试返回成功"; |
| | | } |
| | | |
| | | /** |
| | | * 智能外呼呼叫前一天未接通人员 |
| | | * @param taskScheduleTime 调度时间 |
| | | * @return |
| | | */ |
| | | @Override |
| | | @GetMapping(CREATE_OUT_CALL_TASK_BY_NOT_CONNECT_JOB_HANDLER) |
| | | public List<String> createOutCallTaskByNotConnectJobHandler(String taskScheduleTime) { |
| | | Map<String, Object> map = new HashMap<>(1); |
| | | map.put("taskScheduleTime",taskScheduleTime); |
| | | // 创建定时任务并返回 |
| | | return callService.createOutCallTaskByNotConnectJobHandler(map); |
| | | } |
| | | |
| | | /** |
| | | * 查询未接通填报信息 |
| | | * @param callId 呼叫id |
| | | * @return |
| | | */ |
| | | @Override |
| | | @GetMapping(GET_CALL_NOT_FILL_RECORD_INFO) |
| | | public CallNotFillRecord getCallNotFillRecordInfo(String callId) { |
| | | // 创建定时任务并返回 |
| | | return callNotFillerService.getOne(new QueryWrapper<CallNotFillRecord>().eq("call_id",callId)); |
| | | } |
| | | } |