liusheng
2024-09-18 907641e56c2085aaa81f267946dc3e3e9fca73e7
ruoyi-admin/src/main/java/com/ruoyi/web/controller/smartor/IvrSceneIntentController.java
@@ -37,9 +37,9 @@
    /**
     * 查询AI外呼意图列表
     */
    @PreAuthorize("@ss.hasPermi('smartor:ivrintent:list')")
    @GetMapping("/list")
    public TableDataInfo list(IvrSceneIntent ivrSceneIntent)
    //@PreAuthorize("@ss.hasPermi('smartor:ivrintent:list')")
   @PostMapping("/list")
    public TableDataInfo list(@RequestBody IvrSceneIntent ivrSceneIntent)
    {
        startPage();
        List<IvrSceneIntent> list = ivrSceneIntentService.selectIvrSceneIntentList(ivrSceneIntent);
@@ -49,7 +49,7 @@
    /**
     * 导出AI外呼意图列表
     */
    @PreAuthorize("@ss.hasPermi('smartor:ivrintent:export')")
    //@PreAuthorize("@ss.hasPermi('smartor:ivrintent:export')")
    @Log(title = "AI外呼意图", businessType = BusinessType.EXPORT)
    @PostMapping("/export")
    public void export(HttpServletResponse response, IvrSceneIntent ivrSceneIntent)
@@ -62,7 +62,7 @@
    /**
     * 获取AI外呼意图详细信息
     */
    @PreAuthorize("@ss.hasPermi('smartor:ivrintent:query')")
    //@PreAuthorize("@ss.hasPermi('smartor:ivrintent:query')")
    @GetMapping(value = "/{sceneintentid}")
    public AjaxResult getInfo(@PathVariable("sceneintentid") Long sceneintentid)
    {
@@ -72,9 +72,9 @@
    /**
     * 新增AI外呼意图
     */
    @PreAuthorize("@ss.hasPermi('smartor:ivrintent:add')")
    //@PreAuthorize("@ss.hasPermi('smartor:ivrintent:add')")
    @Log(title = "AI外呼意图", businessType = BusinessType.INSERT)
    @PostMapping
    @PostMapping("/add")
    public AjaxResult add(@RequestBody IvrSceneIntent ivrSceneIntent)
    {
        return toAjax(ivrSceneIntentService.insertIvrSceneIntent(ivrSceneIntent));
@@ -83,9 +83,9 @@
    /**
     * 修改AI外呼意图
     */
    @PreAuthorize("@ss.hasPermi('smartor:ivrintent:edit')")
    //@PreAuthorize("@ss.hasPermi('smartor:ivrintent:edit')")
    @Log(title = "AI外呼意图", businessType = BusinessType.UPDATE)
    @PutMapping
    @PostMapping("/edit")
    public AjaxResult edit(@RequestBody IvrSceneIntent ivrSceneIntent)
    {
        return toAjax(ivrSceneIntentService.updateIvrSceneIntent(ivrSceneIntent));
@@ -94,9 +94,9 @@
    /**
     * 删除AI外呼意图
     */
    @PreAuthorize("@ss.hasPermi('smartor:ivrintent:remove')")
    //@PreAuthorize("@ss.hasPermi('smartor:ivrintent:remove')")
    @Log(title = "AI外呼意图", businessType = BusinessType.DELETE)
   @DeleteMapping("/{sceneintentids}")
   @GetMapping("/remove/{sceneintentids}")
    public AjaxResult remove(@PathVariable Long[] sceneintentids)
    {
        return toAjax(ivrSceneIntentService.deleteIvrSceneIntentBySceneintentids(sceneintentids));