| | |
| | | |
| | | /** |
| | | * 语音任务呼叫记录Controller |
| | | * |
| | | * |
| | | * @author smartor |
| | | * @date 2023-03-24 |
| | | */ |
| | |
| | | /** |
| | | * 查询语音任务呼叫记录列表 |
| | | */ |
| | | @PreAuthorize("@ss.hasPermi('smartor:ivrtaskcallrecord:list')") |
| | | @GetMapping("/list") |
| | | public TableDataInfo list(IvrTaskcallrecord ivrTaskcallrecord) |
| | | //@PreAuthorize("@ss.hasPermi('smartor:ivrtaskcallrecord:list')") |
| | | @PostMapping("/list") |
| | | public TableDataInfo list(@RequestBody IvrTaskcallrecord ivrTaskcallrecord) |
| | | { |
| | | startPage(); |
| | | List<IvrTaskcallrecord> list = ivrTaskcallrecordService.selectIvrTaskcallrecordList(ivrTaskcallrecord); |
| | |
| | | /** |
| | | * 导出语音任务呼叫记录列表 |
| | | */ |
| | | @PreAuthorize("@ss.hasPermi('smartor:ivrtaskcallrecord:export')") |
| | | //@PreAuthorize("@ss.hasPermi('smartor:ivrtaskcallrecord:export')") |
| | | @Log(title = "语音任务呼叫记录", businessType = BusinessType.EXPORT) |
| | | @PostMapping("/export") |
| | | public void export(HttpServletResponse response, IvrTaskcallrecord ivrTaskcallrecord) |
| | |
| | | /** |
| | | * 获取语音任务呼叫记录详细信息 |
| | | */ |
| | | @PreAuthorize("@ss.hasPermi('smartor:ivrtaskcallrecord:query')") |
| | | //@PreAuthorize("@ss.hasPermi('smartor:ivrtaskcallrecord:query')") |
| | | @GetMapping(value = "/{uuid}") |
| | | public AjaxResult getInfo(@PathVariable("uuid") String uuid) |
| | | { |
| | |
| | | /** |
| | | * 新增语音任务呼叫记录 |
| | | */ |
| | | @PreAuthorize("@ss.hasPermi('smartor:ivrtaskcallrecord:add')") |
| | | //@PreAuthorize("@ss.hasPermi('smartor:ivrtaskcallrecord:add')") |
| | | @Log(title = "语音任务呼叫记录", businessType = BusinessType.INSERT) |
| | | @PostMapping |
| | | @PostMapping("/add") |
| | | public AjaxResult add(@RequestBody IvrTaskcallrecord ivrTaskcallrecord) |
| | | { |
| | | return toAjax(ivrTaskcallrecordService.insertIvrTaskcallrecord(ivrTaskcallrecord)); |
| | |
| | | /** |
| | | * 修改语音任务呼叫记录 |
| | | */ |
| | | @PreAuthorize("@ss.hasPermi('smartor:ivrtaskcallrecord:edit')") |
| | | //@PreAuthorize("@ss.hasPermi('smartor:ivrtaskcallrecord:edit')") |
| | | @Log(title = "语音任务呼叫记录", businessType = BusinessType.UPDATE) |
| | | @PutMapping |
| | | @PostMapping("/edit") |
| | | public AjaxResult edit(@RequestBody IvrTaskcallrecord ivrTaskcallrecord) |
| | | { |
| | | return toAjax(ivrTaskcallrecordService.updateIvrTaskcallrecord(ivrTaskcallrecord)); |
| | |
| | | /** |
| | | * 删除语音任务呼叫记录 |
| | | */ |
| | | @PreAuthorize("@ss.hasPermi('smartor:ivrtaskcallrecord:remove')") |
| | | //@PreAuthorize("@ss.hasPermi('smartor:ivrtaskcallrecord:remove')") |
| | | @Log(title = "语音任务呼叫记录", businessType = BusinessType.DELETE) |
| | | @DeleteMapping("/{uuids}") |
| | | @GetMapping("/remove/{uuids}") |
| | | public AjaxResult remove(@PathVariable String[] uuids) |
| | | { |
| | | return toAjax(ivrTaskcallrecordService.deleteIvrTaskcallrecordByUuids(uuids)); |