| | |
| | | /** |
| | | * 查询问题话术指标库列表 |
| | | */ |
| | | @PreAuthorize("@ss.hasPermi('system:target:list')") |
| | | //@PreAuthorize("@ss.hasPermi('system:target:list')") |
| | | @PostMapping("/list") |
| | | public TableDataInfo list(@RequestBody IvrLibaScriptTarget ivrLibaScriptTarget) { |
| | | startPage(); |
| | |
| | | /** |
| | | * 导出问题话术指标库列表 |
| | | */ |
| | | @PreAuthorize("@ss.hasPermi('system:target:export')") |
| | | //@PreAuthorize("@ss.hasPermi('system:target:export')") |
| | | @Log(title = "问题话术指标库", businessType = BusinessType.EXPORT) |
| | | @PostMapping("/export") |
| | | public void export(HttpServletResponse response, IvrLibaScriptTarget ivrLibaScriptTarget) { |
| | |
| | | /** |
| | | * 获取问题话术指标库详细信息 |
| | | */ |
| | | @PreAuthorize("@ss.hasPermi('system:target:query')") |
| | | //@PreAuthorize("@ss.hasPermi('system:target:query')") |
| | | @GetMapping(value = "/getInfo/{questionTargetID}") |
| | | public AjaxResult getInfo(@PathVariable("questionTargetID") String questionTargetID) { |
| | | return success(ivrLibaScriptTargetService.selectIvrLibaScriptTargetByQuestionTargetID(questionTargetID)); |
| | |
| | | /** |
| | | * 新增问题话术指标库 |
| | | */ |
| | | @PreAuthorize("@ss.hasPermi('system:target:add')") |
| | | //@PreAuthorize("@ss.hasPermi('system:target:add')") |
| | | @Log(title = "问题话术指标库", businessType = BusinessType.INSERT) |
| | | @PostMapping("/add") |
| | | public AjaxResult add(@RequestBody IvrLibaScriptTarget ivrLibaScriptTarget) { |
| | |
| | | /** |
| | | * 修改问题话术指标库 |
| | | */ |
| | | @PreAuthorize("@ss.hasPermi('system:target:edit')") |
| | | //@PreAuthorize("@ss.hasPermi('system:target:edit')") |
| | | @Log(title = "问题话术指标库", businessType = BusinessType.UPDATE) |
| | | @PostMapping("/edit") |
| | | public AjaxResult edit(@RequestBody IvrLibaScriptTarget ivrLibaScriptTarget) { |
| | |
| | | /** |
| | | * 删除问题话术指标库 |
| | | */ |
| | | @PreAuthorize("@ss.hasPermi('system:target:remove')") |
| | | //@PreAuthorize("@ss.hasPermi('system:target:remove')") |
| | | @Log(title = "问题话术指标库", businessType = BusinessType.DELETE) |
| | | @GetMapping("/remove/{questionTargetIDs}") |
| | | public AjaxResult remove(@PathVariable Integer[] ids) { |