| | |
| | | * 列表 |
| | | */ |
| | | @ApiOperation("查询问题话术分类库(树状)") |
| | | @PreAuthorize("@ss.hasPermi('system:assort:list')") |
| | | //@PreAuthorize("@ss.hasPermi('system:assort:list')") |
| | | @PostMapping("/selectIvrLibaScriptAssortList") |
| | | public TableDataInfo list(@RequestBody IvrLibaScriptAssort ivrLibaScriptAssort) { |
| | | List<IvrLibaScriptAssortVO> list = ivrLibaScriptAssortService.selectIvrLibaScriptAssortList(ivrLibaScriptAssort); |
| | |
| | | * 列表 |
| | | */ |
| | | @ApiOperation("导出问题话术分类库") |
| | | @PreAuthorize("@ss.hasPermi('system:assort:export')") |
| | | //@PreAuthorize("@ss.hasPermi('system:assort:export')") |
| | | @Log(title = "问题话术分类库", businessType = BusinessType.EXPORT) |
| | | @PostMapping("/export") |
| | | public void export(HttpServletResponse response, IvrLibaScriptAssort ivrLibaScriptAssort) { |
| | |
| | | * 详细信息 |
| | | */ |
| | | @ApiOperation("获取问题话术分类库") |
| | | @PreAuthorize("@ss.hasPermi('system:assort:query')") |
| | | //@PreAuthorize("@ss.hasPermi('system:assort:query')") |
| | | @GetMapping(value = "/getInfo/{id}") |
| | | public AjaxResult getInfo(@PathVariable("id") Long id) { |
| | | return success(ivrLibaScriptAssortService.selectIvrLibaScriptAssortById(id)); |
| | |
| | | * 新增问题话术分类库 |
| | | */ |
| | | @ApiOperation("新增问题话术分类库") |
| | | @PreAuthorize("@ss.hasPermi('system:assort:add')") |
| | | //@PreAuthorize("@ss.hasPermi('system:assort:add')") |
| | | @Log(title = "问题话术分类库", businessType = BusinessType.INSERT) |
| | | @PostMapping("/add") |
| | | public AjaxResult add(@RequestBody IvrLibaScriptAssort ivrLibaScriptAssort) { |
| | |
| | | /** |
| | | * 新增问题话术分类树 |
| | | */ |
| | | @PreAuthorize("@ss.hasPermi('system:assort:add')") |
| | | //@PreAuthorize("@ss.hasPermi('system:assort:add')") |
| | | @Log(title = "问题话术分类库", businessType = BusinessType.INSERT) |
| | | @ApiOperation("新增问题话术分类树") |
| | | @PostMapping("/addtree") |
| | |
| | | * 修改问题话术分类库 |
| | | */ |
| | | @ApiOperation("修改问题话术分类库") |
| | | @PreAuthorize("@ss.hasPermi('system:assort:edit')") |
| | | //@PreAuthorize("@ss.hasPermi('system:assort:edit')") |
| | | @Log(title = "问题话术分类库", businessType = BusinessType.UPDATE) |
| | | @PostMapping("/edit") |
| | | public AjaxResult edit(@RequestBody IvrLibaScriptAssort ivrLibaScriptAssort) { |
| | |
| | | * 删除问题话术分类库 |
| | | */ |
| | | @ApiOperation("删除问题话术分类库") |
| | | @PreAuthorize("@ss.hasPermi('system:assort:remove')") |
| | | //@PreAuthorize("@ss.hasPermi('system:assort:remove')") |
| | | @Log(title = "问题话术分类库", businessType = BusinessType.DELETE) |
| | | @GetMapping("/remove/{ids}") |
| | | public AjaxResult remove(@PathVariable Long[] ids) { |