liusheng
2024-09-18 907641e56c2085aaa81f267946dc3e3e9fca73e7
ruoyi-admin/src/main/java/com/ruoyi/web/controller/smartor/IvrSceneFlownodebranchController.java
@@ -37,9 +37,9 @@
    /**
     * 查询AI外呼流程节点分支列表
     */
    @PreAuthorize("@ss.hasPermi('smartor:ivrflownodebranch:list')")
    @GetMapping("/list")
    public TableDataInfo list(IvrSceneFlownodebranch ivrSceneFlownodebranch)
    //@PreAuthorize("@ss.hasPermi('smartor:ivrflownodebranch:list')")
   @PostMapping("/list")
    public TableDataInfo list(@RequestBody IvrSceneFlownodebranch ivrSceneFlownodebranch)
    {
        startPage();
        List<IvrSceneFlownodebranch> list = ivrSceneFlownodebranchService.selectIvrSceneFlownodebranchList(ivrSceneFlownodebranch);
@@ -49,7 +49,7 @@
    /**
     * 导出AI外呼流程节点分支列表
     */
    @PreAuthorize("@ss.hasPermi('smartor:ivrflownodebranch:export')")
    //@PreAuthorize("@ss.hasPermi('smartor:ivrflownodebranch:export')")
    @Log(title = "AI外呼流程节点分支", businessType = BusinessType.EXPORT)
    @PostMapping("/export")
    public void export(HttpServletResponse response, IvrSceneFlownodebranch ivrSceneFlownodebranch)
@@ -62,7 +62,7 @@
    /**
     * 获取AI外呼流程节点分支详细信息
     */
    @PreAuthorize("@ss.hasPermi('smartor:ivrflownodebranch:query')")
    //@PreAuthorize("@ss.hasPermi('smartor:ivrflownodebranch:query')")
    @GetMapping(value = "/{branchid}")
    public AjaxResult getInfo(@PathVariable("branchid") Long branchid)
    {
@@ -72,9 +72,9 @@
    /**
     * 新增AI外呼流程节点分支
     */
    @PreAuthorize("@ss.hasPermi('smartor:ivrflownodebranch:add')")
    //@PreAuthorize("@ss.hasPermi('smartor:ivrflownodebranch:add')")
    @Log(title = "AI外呼流程节点分支", businessType = BusinessType.INSERT)
    @PostMapping
    @PostMapping("/add")
    public AjaxResult add(@RequestBody IvrSceneFlownodebranch ivrSceneFlownodebranch)
    {
        return toAjax(ivrSceneFlownodebranchService.insertIvrSceneFlownodebranch(ivrSceneFlownodebranch));
@@ -83,9 +83,9 @@
    /**
     * 修改AI外呼流程节点分支
     */
    @PreAuthorize("@ss.hasPermi('smartor:ivrflownodebranch:edit')")
    //@PreAuthorize("@ss.hasPermi('smartor:ivrflownodebranch:edit')")
    @Log(title = "AI外呼流程节点分支", businessType = BusinessType.UPDATE)
    @PutMapping
    @PostMapping("/edit")
    public AjaxResult edit(@RequestBody IvrSceneFlownodebranch ivrSceneFlownodebranch)
    {
        return toAjax(ivrSceneFlownodebranchService.updateIvrSceneFlownodebranch(ivrSceneFlownodebranch));
@@ -94,9 +94,9 @@
    /**
     * 删除AI外呼流程节点分支
     */
    @PreAuthorize("@ss.hasPermi('smartor:ivrflownodebranch:remove')")
    //@PreAuthorize("@ss.hasPermi('smartor:ivrflownodebranch:remove')")
    @Log(title = "AI外呼流程节点分支", businessType = BusinessType.DELETE)
   @DeleteMapping("/{branchids}")
   @GetMapping("/remove/{branchids}")
    public AjaxResult remove(@PathVariable Long[] branchids)
    {
        return toAjax(ivrSceneFlownodebranchService.deleteIvrSceneFlownodebranchByBranchids(branchids));