| | |
| | | * 查询AI外呼流程节点分支列表 |
| | | */ |
| | | @PreAuthorize("@ss.hasPermi('smartor:ivrflownodebranch:list')") |
| | | @GetMapping("/list") |
| | | public TableDataInfo list(IvrSceneFlownodebranch ivrSceneFlownodebranch) |
| | | @PostMapping("/list") |
| | | public TableDataInfo list(@RequestBody IvrSceneFlownodebranch ivrSceneFlownodebranch) |
| | | { |
| | | startPage(); |
| | | List<IvrSceneFlownodebranch> list = ivrSceneFlownodebranchService.selectIvrSceneFlownodebranchList(ivrSceneFlownodebranch); |
| | |
| | | */ |
| | | @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)); |
| | |
| | | */ |
| | | @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)); |
| | |
| | | */ |
| | | @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)); |