| | |
| | | * 查询AI外呼重拨配置列表 |
| | | */ |
| | | @PreAuthorize("@ss.hasPermi('smartor:ivrrecall:list')") |
| | | @GetMapping("/list") |
| | | public TableDataInfo list(IvrSceneRecall ivrSceneRecall) |
| | | @PostMapping("/list") |
| | | public TableDataInfo list(@RequestBody IvrSceneRecall ivrSceneRecall) |
| | | { |
| | | startPage(); |
| | | List<IvrSceneRecall> list = ivrSceneRecallService.selectIvrSceneRecallList(ivrSceneRecall); |
| | |
| | | */ |
| | | @PreAuthorize("@ss.hasPermi('smartor:ivrrecall:add')") |
| | | @Log(title = "AI外呼重拨配置", businessType = BusinessType.INSERT) |
| | | @PostMapping |
| | | @PostMapping("/add") |
| | | public AjaxResult add(@RequestBody IvrSceneRecall ivrSceneRecall) |
| | | { |
| | | return toAjax(ivrSceneRecallService.insertIvrSceneRecall(ivrSceneRecall)); |
| | |
| | | */ |
| | | @PreAuthorize("@ss.hasPermi('smartor:ivrrecall:edit')") |
| | | @Log(title = "AI外呼重拨配置", businessType = BusinessType.UPDATE) |
| | | @PutMapping |
| | | @PostMapping("/edit") |
| | | public AjaxResult edit(@RequestBody IvrSceneRecall ivrSceneRecall) |
| | | { |
| | | return toAjax(ivrSceneRecallService.updateIvrSceneRecall(ivrSceneRecall)); |
| | |
| | | */ |
| | | @PreAuthorize("@ss.hasPermi('smartor:ivrrecall:remove')") |
| | | @Log(title = "AI外呼重拨配置", businessType = BusinessType.DELETE) |
| | | @DeleteMapping("/{recallids}") |
| | | @GetMapping("/remove/{recallids}") |
| | | public AjaxResult remove(@PathVariable Long[] recallids) |
| | | { |
| | | return toAjax(ivrSceneRecallService.deleteIvrSceneRecallByRecallids(recallids)); |