liusheng
2024-06-24 3153009257c97b0f0099f787e951dd15472d077e
ruoyi-admin/src/main/java/com/ruoyi/web/controller/smartor/IvrSceneFlownodeController.java
@@ -38,8 +38,8 @@
     * 查询AI外呼流程节点列表
     */
    @PreAuthorize("@ss.hasPermi('smartor:ivrflownode:list')")
    @GetMapping("/list")
    public TableDataInfo list(IvrSceneFlownode ivrSceneFlownode)
   @PostMapping("/list")
    public TableDataInfo list(@RequestBody IvrSceneFlownode ivrSceneFlownode)
    {
        startPage();
        List<IvrSceneFlownode> list = ivrSceneFlownodeService.selectIvrSceneFlownodeList(ivrSceneFlownode);
@@ -74,7 +74,7 @@
     */
    @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));
@@ -85,7 +85,7 @@
     */
    @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));
@@ -96,7 +96,7 @@
     */
    @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));