| | |
| | | * 查询话术模板库话术列表 |
| | | */ |
| | | @PreAuthorize("@ss.hasPermi('smartor:ivrtemplatescript:list')") |
| | | @GetMapping("/list") |
| | | public TableDataInfo list(IvrLibaTemplatescript ivrLibaTemplatescript) |
| | | @PostMapping("/list") |
| | | public TableDataInfo list(@RequestBody IvrLibaTemplatescript ivrLibaTemplatescript) |
| | | { |
| | | startPage(); |
| | | List<IvrLibaTemplatescript> list = ivrLibaTemplatescriptService.selectIvrLibaTemplatescriptList(ivrLibaTemplatescript); |
| | |
| | | */ |
| | | @PreAuthorize("@ss.hasPermi('smartor:ivrtemplatescript:add')") |
| | | @Log(title = "话术模板库话术", businessType = BusinessType.INSERT) |
| | | @PostMapping |
| | | @PostMapping("/add") |
| | | public AjaxResult add(@RequestBody IvrLibaTemplatescript ivrLibaTemplatescript) |
| | | { |
| | | return toAjax(ivrLibaTemplatescriptService.insertIvrLibaTemplatescript(ivrLibaTemplatescript)); |
| | |
| | | */ |
| | | @PreAuthorize("@ss.hasPermi('smartor:ivrtemplatescript:edit')") |
| | | @Log(title = "话术模板库话术", businessType = BusinessType.UPDATE) |
| | | @PutMapping |
| | | @PostMapping("/edit") |
| | | public AjaxResult edit(@RequestBody IvrLibaTemplatescript ivrLibaTemplatescript) |
| | | { |
| | | return toAjax(ivrLibaTemplatescriptService.updateIvrLibaTemplatescript(ivrLibaTemplatescript)); |
| | |
| | | */ |
| | | @PreAuthorize("@ss.hasPermi('smartor:ivrtemplatescript:remove')") |
| | | @Log(title = "话术模板库话术", businessType = BusinessType.DELETE) |
| | | @DeleteMapping("/{templateQuestionIDs}") |
| | | @GetMapping("/remove/{templateQuestionIDs}") |
| | | public AjaxResult remove(@PathVariable String[] templateQuestionIDs) |
| | | { |
| | | return toAjax(ivrLibaTemplatescriptService.deleteIvrLibaTemplatescriptByTemplateQuestionIDs(templateQuestionIDs)); |