|  |  | 
 |  |  |     /** | 
 |  |  |      * 查询AI话术库分类列表 | 
 |  |  |      */ | 
 |  |  |     @PreAuthorize("@ss.hasPermi('smartor:ivrlibscriptcategory:list')") | 
 |  |  |     @GetMapping("/list") | 
 |  |  |     public TableDataInfo list(IvrLibScriptcategory ivrLibScriptcategory) | 
 |  |  |     //@PreAuthorize("@ss.hasPermi('smartor:ivrlibscriptcategory:list')") | 
 |  |  |    @PostMapping("/list") | 
 |  |  |     public TableDataInfo list(@RequestBody IvrLibScriptcategory ivrLibScriptcategory) | 
 |  |  |     { | 
 |  |  |         startPage(); | 
 |  |  |         List<IvrLibScriptcategory> list = ivrLibScriptcategoryService.selectIvrLibScriptcategoryList(ivrLibScriptcategory); | 
 |  |  | 
 |  |  |     /** | 
 |  |  |      * 导出AI话术库分类列表 | 
 |  |  |      */ | 
 |  |  |     @PreAuthorize("@ss.hasPermi('smartor:ivrlibscriptcategory:export')") | 
 |  |  |     //@PreAuthorize("@ss.hasPermi('smartor:ivrlibscriptcategory:export')") | 
 |  |  |     @Log(title = "AI话术库分类", businessType = BusinessType.EXPORT) | 
 |  |  |     @PostMapping("/export") | 
 |  |  |     public void export(HttpServletResponse response, IvrLibScriptcategory ivrLibScriptcategory) | 
 |  |  | 
 |  |  |     /** | 
 |  |  |      * 获取AI话术库分类详细信息 | 
 |  |  |      */ | 
 |  |  |     @PreAuthorize("@ss.hasPermi('smartor:ivrlibscriptcategory:query')") | 
 |  |  |     //@PreAuthorize("@ss.hasPermi('smartor:ivrlibscriptcategory:query')") | 
 |  |  |     @GetMapping(value = "/{categoryid}") | 
 |  |  |     public AjaxResult getInfo(@PathVariable("categoryid") Long categoryid) | 
 |  |  |     { | 
 |  |  | 
 |  |  |     /** | 
 |  |  |      * 新增AI话术库分类 | 
 |  |  |      */ | 
 |  |  |     @PreAuthorize("@ss.hasPermi('smartor:ivrlibscriptcategory:add')") | 
 |  |  |     //@PreAuthorize("@ss.hasPermi('smartor:ivrlibscriptcategory:add')") | 
 |  |  |     @Log(title = "AI话术库分类", businessType = BusinessType.INSERT) | 
 |  |  |     @PostMapping | 
 |  |  |     @PostMapping("/add") | 
 |  |  |     public AjaxResult add(@RequestBody IvrLibScriptcategory ivrLibScriptcategory) | 
 |  |  |     { | 
 |  |  |         return toAjax(ivrLibScriptcategoryService.insertIvrLibScriptcategory(ivrLibScriptcategory)); | 
 |  |  | 
 |  |  |     /** | 
 |  |  |      * 修改AI话术库分类 | 
 |  |  |      */ | 
 |  |  |     @PreAuthorize("@ss.hasPermi('smartor:ivrlibscriptcategory:edit')") | 
 |  |  |     //@PreAuthorize("@ss.hasPermi('smartor:ivrlibscriptcategory:edit')") | 
 |  |  |     @Log(title = "AI话术库分类", businessType = BusinessType.UPDATE) | 
 |  |  |     @PutMapping | 
 |  |  |     @PostMapping("/edit") | 
 |  |  |     public AjaxResult edit(@RequestBody IvrLibScriptcategory ivrLibScriptcategory) | 
 |  |  |     { | 
 |  |  |         return toAjax(ivrLibScriptcategoryService.updateIvrLibScriptcategory(ivrLibScriptcategory)); | 
 |  |  | 
 |  |  |     /** | 
 |  |  |      * 删除AI话术库分类 | 
 |  |  |      */ | 
 |  |  |     @PreAuthorize("@ss.hasPermi('smartor:ivrlibscriptcategory:remove')") | 
 |  |  |     //@PreAuthorize("@ss.hasPermi('smartor:ivrlibscriptcategory:remove')") | 
 |  |  |     @Log(title = "AI话术库分类", businessType = BusinessType.DELETE) | 
 |  |  |    @DeleteMapping("/{categoryids}") | 
 |  |  |    @GetMapping("/remove/{categoryids}") | 
 |  |  |     public AjaxResult remove(@PathVariable Long[] categoryids) | 
 |  |  |     { | 
 |  |  |         return toAjax(ivrLibScriptcategoryService.deleteIvrLibScriptcategoryByCategoryids(categoryids)); |