| | |
| | | * 查询语音任务呼叫列表 |
| | | */ |
| | | @PreAuthorize("@ss.hasPermi('smartor:ivrtaskcall:list')") |
| | | @GetMapping("/list") |
| | | public TableDataInfo list(IvrTaskcall ivrTaskcall) |
| | | @PostMapping("/list") |
| | | public TableDataInfo list(@RequestBody IvrTaskcall ivrTaskcall) |
| | | { |
| | | startPage(); |
| | | List<IvrTaskcall> list = ivrTaskcallService.selectIvrTaskcallList(ivrTaskcall); |
| | |
| | | */ |
| | | @PreAuthorize("@ss.hasPermi('smartor:ivrtaskcall:add')") |
| | | @Log(title = "语音任务呼叫", businessType = BusinessType.INSERT) |
| | | @PostMapping |
| | | @PostMapping("/add") |
| | | public AjaxResult add(@RequestBody IvrTaskcall ivrTaskcall) |
| | | { |
| | | return toAjax(ivrTaskcallService.insertIvrTaskcall(ivrTaskcall)); |
| | |
| | | */ |
| | | @PreAuthorize("@ss.hasPermi('smartor:ivrtaskcall:edit')") |
| | | @Log(title = "语音任务呼叫", businessType = BusinessType.UPDATE) |
| | | @PutMapping |
| | | @PostMapping("/edit") |
| | | public AjaxResult edit(@RequestBody IvrTaskcall ivrTaskcall) |
| | | { |
| | | return toAjax(ivrTaskcallService.updateIvrTaskcall(ivrTaskcall)); |
| | |
| | | */ |
| | | @PreAuthorize("@ss.hasPermi('smartor:ivrtaskcall:remove')") |
| | | @Log(title = "语音任务呼叫", businessType = BusinessType.DELETE) |
| | | @DeleteMapping("/{callids}") |
| | | @GetMapping("/remove/{callids}") |
| | | public AjaxResult remove(@PathVariable Long[] callids) |
| | | { |
| | | return toAjax(ivrTaskcallService.deleteIvrTaskcallByCallids(callids)); |