| | |
| | | * 查询话术库话术指标列表 |
| | | */ |
| | | @PreAuthorize("@ss.hasPermi('smartor:ivrscripttarget:list')") |
| | | @GetMapping("/list") |
| | | public TableDataInfo list(IvrLibaScripttarget ivrLibaScripttarget) |
| | | @PostMapping("/list") |
| | | public TableDataInfo list(@RequestBody IvrLibaScripttarget ivrLibaScripttarget) |
| | | { |
| | | startPage(); |
| | | List<IvrLibaScripttarget> list = ivrLibaScripttargetService.selectIvrLibaScripttargetList(ivrLibaScripttarget); |
| | |
| | | */ |
| | | @PreAuthorize("@ss.hasPermi('smartor:ivrscripttarget:add')") |
| | | @Log(title = "话术库话术指标", businessType = BusinessType.INSERT) |
| | | @PostMapping |
| | | @PostMapping("/add") |
| | | public AjaxResult add(@RequestBody IvrLibaScripttarget ivrLibaScripttarget) |
| | | { |
| | | return toAjax(ivrLibaScripttargetService.insertIvrLibaScripttarget(ivrLibaScripttarget)); |
| | |
| | | */ |
| | | @PreAuthorize("@ss.hasPermi('smartor:ivrscripttarget:edit')") |
| | | @Log(title = "话术库话术指标", businessType = BusinessType.UPDATE) |
| | | @PutMapping |
| | | @PostMapping("/edit") |
| | | public AjaxResult edit(@RequestBody IvrLibaScripttarget ivrLibaScripttarget) |
| | | { |
| | | return toAjax(ivrLibaScripttargetService.updateIvrLibaScripttarget(ivrLibaScripttarget)); |
| | |
| | | */ |
| | | @PreAuthorize("@ss.hasPermi('smartor:ivrscripttarget:remove')") |
| | | @Log(title = "话术库话术指标", businessType = BusinessType.DELETE) |
| | | @DeleteMapping("/{questionTargetIDs}") |
| | | @GetMapping("/remove/{questionTargetIDs}") |
| | | public AjaxResult remove(@PathVariable String[] questionTargetIDs) |
| | | { |
| | | return toAjax(ivrLibaScripttargetService.deleteIvrLibaScripttargetByQuestionTargetIDs(questionTargetIDs)); |