liusheng
2024-09-18 907641e56c2085aaa81f267946dc3e3e9fca73e7
ruoyi-admin/src/main/java/com/ruoyi/web/controller/smartor/IvrTaskcallrecordController.java
@@ -23,7 +23,7 @@
/**
 * 语音任务呼叫记录Controller
 *
 *
 * @author smartor
 * @date 2023-03-24
 */
@@ -37,9 +37,9 @@
    /**
     * 查询语音任务呼叫记录列表
     */
    @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);
@@ -49,7 +49,7 @@
    /**
     * 导出语音任务呼叫记录列表
     */
    @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)
@@ -62,7 +62,7 @@
    /**
     * 获取语音任务呼叫记录详细信息
     */
    @PreAuthorize("@ss.hasPermi('smartor:ivrtaskcallrecord:query')")
    //@PreAuthorize("@ss.hasPermi('smartor:ivrtaskcallrecord:query')")
    @GetMapping(value = "/{uuid}")
    public AjaxResult getInfo(@PathVariable("uuid") String uuid)
    {
@@ -72,9 +72,9 @@
    /**
     * 新增语音任务呼叫记录
     */
    @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));
@@ -83,9 +83,9 @@
    /**
     * 修改语音任务呼叫记录
     */
    @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));
@@ -94,9 +94,9 @@
    /**
     * 删除语音任务呼叫记录
     */
    @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));