liusheng
2024-09-18 907641e56c2085aaa81f267946dc3e3e9fca73e7
ruoyi-admin/src/main/java/com/ruoyi/web/controller/smartor/IvrSceneRecallController.java
@@ -23,7 +23,7 @@
/**
 * AI外呼重拨配置Controller
 *
 *
 * @author smartor
 * @date 2023-03-06
 */
@@ -37,9 +37,9 @@
    /**
     * 查询AI外呼重拨配置列表
     */
    @PreAuthorize("@ss.hasPermi('smartor:ivrrecall:list')")
    @GetMapping("/list")
    public TableDataInfo list(IvrSceneRecall ivrSceneRecall)
    //@PreAuthorize("@ss.hasPermi('smartor:ivrrecall:list')")
   @PostMapping("/list")
    public TableDataInfo list(@RequestBody IvrSceneRecall ivrSceneRecall)
    {
        startPage();
        List<IvrSceneRecall> list = ivrSceneRecallService.selectIvrSceneRecallList(ivrSceneRecall);
@@ -49,7 +49,7 @@
    /**
     * 导出AI外呼重拨配置列表
     */
    @PreAuthorize("@ss.hasPermi('smartor:ivrrecall:export')")
    //@PreAuthorize("@ss.hasPermi('smartor:ivrrecall:export')")
    @Log(title = "AI外呼重拨配置", businessType = BusinessType.EXPORT)
    @PostMapping("/export")
    public void export(HttpServletResponse response, IvrSceneRecall ivrSceneRecall)
@@ -62,7 +62,7 @@
    /**
     * 获取AI外呼重拨配置详细信息
     */
    @PreAuthorize("@ss.hasPermi('smartor:ivrrecall:query')")
    //@PreAuthorize("@ss.hasPermi('smartor:ivrrecall:query')")
    @GetMapping(value = "/{recallid}")
    public AjaxResult getInfo(@PathVariable("recallid") Long recallid)
    {
@@ -72,9 +72,9 @@
    /**
     * 新增AI外呼重拨配置
     */
    @PreAuthorize("@ss.hasPermi('smartor:ivrrecall:add')")
    //@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));
@@ -83,9 +83,9 @@
    /**
     * 修改AI外呼重拨配置
     */
    @PreAuthorize("@ss.hasPermi('smartor:ivrrecall:edit')")
    //@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));
@@ -94,9 +94,9 @@
    /**
     * 删除AI外呼重拨配置
     */
    @PreAuthorize("@ss.hasPermi('smartor:ivrrecall:remove')")
    //@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));