liusheng
2024-09-18 907641e56c2085aaa81f267946dc3e3e9fca73e7
ruoyi-admin/src/main/java/com/ruoyi/web/controller/smartor/IvrSceneFlownodeController.java
@@ -23,7 +23,7 @@
/**
 * AI外呼流程节点Controller
 *
 *
 * @author smartor
 * @date 2023-03-06
 */
@@ -37,9 +37,9 @@
    /**
     * 查询AI外呼流程节点列表
     */
    @PreAuthorize("@ss.hasPermi('smartor:ivrflownode:list')")
    @GetMapping("/list")
    public TableDataInfo list(IvrSceneFlownode ivrSceneFlownode)
    //@PreAuthorize("@ss.hasPermi('smartor:ivrflownode:list')")
   @PostMapping("/list")
    public TableDataInfo list(@RequestBody IvrSceneFlownode ivrSceneFlownode)
    {
        startPage();
        List<IvrSceneFlownode> list = ivrSceneFlownodeService.selectIvrSceneFlownodeList(ivrSceneFlownode);
@@ -49,7 +49,7 @@
    /**
     * 导出AI外呼流程节点列表
     */
    @PreAuthorize("@ss.hasPermi('smartor:ivrflownode:export')")
    //@PreAuthorize("@ss.hasPermi('smartor:ivrflownode:export')")
    @Log(title = "AI外呼流程节点", businessType = BusinessType.EXPORT)
    @PostMapping("/export")
    public void export(HttpServletResponse response, IvrSceneFlownode ivrSceneFlownode)
@@ -62,7 +62,7 @@
    /**
     * 获取AI外呼流程节点详细信息
     */
    @PreAuthorize("@ss.hasPermi('smartor:ivrflownode:query')")
    //@PreAuthorize("@ss.hasPermi('smartor:ivrflownode:query')")
    @GetMapping(value = "/{flownodeid}")
    public AjaxResult getInfo(@PathVariable("flownodeid") Long flownodeid)
    {
@@ -72,9 +72,9 @@
    /**
     * 新增AI外呼流程节点
     */
    @PreAuthorize("@ss.hasPermi('smartor:ivrflownode:add')")
    //@PreAuthorize("@ss.hasPermi('smartor:ivrflownode:add')")
    @Log(title = "AI外呼流程节点", businessType = BusinessType.INSERT)
    @PostMapping
    @PostMapping("/add")
    public AjaxResult add(@RequestBody IvrSceneFlownode ivrSceneFlownode)
    {
        return toAjax(ivrSceneFlownodeService.insertIvrSceneFlownode(ivrSceneFlownode));
@@ -83,9 +83,9 @@
    /**
     * 修改AI外呼流程节点
     */
    @PreAuthorize("@ss.hasPermi('smartor:ivrflownode:edit')")
    //@PreAuthorize("@ss.hasPermi('smartor:ivrflownode:edit')")
    @Log(title = "AI外呼流程节点", businessType = BusinessType.UPDATE)
    @PutMapping
    @PostMapping("/edit")
    public AjaxResult edit(@RequestBody IvrSceneFlownode ivrSceneFlownode)
    {
        return toAjax(ivrSceneFlownodeService.updateIvrSceneFlownode(ivrSceneFlownode));
@@ -94,9 +94,9 @@
    /**
     * 删除AI外呼流程节点
     */
    @PreAuthorize("@ss.hasPermi('smartor:ivrflownode:remove')")
    //@PreAuthorize("@ss.hasPermi('smartor:ivrflownode:remove')")
    @Log(title = "AI外呼流程节点", businessType = BusinessType.DELETE)
   @DeleteMapping("/{flownodeids}")
   @GetMapping("/remove/{flownodeids}")
    public AjaxResult remove(@PathVariable Long[] flownodeids)
    {
        return toAjax(ivrSceneFlownodeService.deleteIvrSceneFlownodeByFlownodeids(flownodeids));