| | |
| | | import cn.gistack.sm.intelligentCall.service.ICallSmsNoticeTaskService; |
| | | import cn.gistack.sm.intelligentCall.vo.CallTaskResultVO; |
| | | import cn.gistack.sm.intelligentCall.vo.CallTaskStatistic; |
| | | import cn.gistack.sm.sjztmd.word.vo.DzkInfo; |
| | | import cn.gistack.sm.sjztmd.word.vo.OverDetail; |
| | | import cn.gistack.sm.sjztmd.word.vo.TotalInfo; |
| | | import com.alibaba.excel.EasyExcel; |
| | | import io.swagger.annotations.Api; |
| | | import io.swagger.annotations.ApiOperation; |
| | |
| | | return R.data(callService.getCallResultListTemp(Condition.getPage(query),callTaskResult)); |
| | | } |
| | | |
| | | /** |
| | | * 外呼数据导出 |
| | | * @param callTaskResult |
| | | * @param response |
| | | * @return |
| | | */ |
| | | @GetMapping("/exportCallResultList") |
| | | public void getCallResultListTemp(CallTaskResultVO callTaskResult,Query query,HttpServletResponse response) throws Exception { |
| | | //获取总览、大中库、明细数据 |
| | | List<CallTaskResultVO> callTaskResultVOList |
| | | = callService.getCallResultListTemp(Condition.getPage(query), callTaskResult); |
| | | cn.gistack.sm.intelligentCall.util.ExcelUtil.generateExcel(response,callTaskResultVOList,callTaskResult); |
| | | } |
| | | |
| | | |
| | | /** |
| | | * 导入表格发送智能外呼 |
| | |
| | | List<CallExcel> list = new ArrayList<>(); |
| | | ExcelUtil.export(response, "智能外呼数据模板", "智能外呼数据表", list, CallExcel.class); |
| | | } |
| | | |
| | | /** |
| | | * 测试接口-调用外呼库查询任务详情信息 |
| | | */ |
| | | @GetMapping("/getTaskDetail") |
| | | public R getTaskDetail(Integer taskId) { |
| | | return R.data(callService.getTaskDetail(taskId)); |
| | | } |
| | | } |