| | |
| | | * 查询话术模板库话术指标列表 |
| | | */ |
| | | @PreAuthorize("@ss.hasPermi('smartor:ivrtemplatetarget:list')") |
| | | @GetMapping("/list") |
| | | public TableDataInfo list(IvrLibaTemplatetarget ivrLibaTemplatetarget) |
| | | @PostMapping("/list") |
| | | public TableDataInfo list(@RequestBody IvrLibaTemplatetarget ivrLibaTemplatetarget) |
| | | { |
| | | startPage(); |
| | | List<IvrLibaTemplatetarget> list = ivrLibaTemplatetargetService.selectIvrLibaTemplatetargetList(ivrLibaTemplatetarget); |
| | |
| | | */ |
| | | @PreAuthorize("@ss.hasPermi('smartor:ivrtemplatetarget:add')") |
| | | @Log(title = "话术模板库话术指标", businessType = BusinessType.INSERT) |
| | | @PostMapping |
| | | @PostMapping("/add") |
| | | public AjaxResult add(@RequestBody IvrLibaTemplatetarget ivrLibaTemplatetarget) |
| | | { |
| | | return toAjax(ivrLibaTemplatetargetService.insertIvrLibaTemplatetarget(ivrLibaTemplatetarget)); |
| | |
| | | */ |
| | | @PreAuthorize("@ss.hasPermi('smartor:ivrtemplatetarget:edit')") |
| | | @Log(title = "话术模板库话术指标", businessType = BusinessType.UPDATE) |
| | | @PutMapping |
| | | @PostMapping("/edit") |
| | | public AjaxResult edit(@RequestBody IvrLibaTemplatetarget ivrLibaTemplatetarget) |
| | | { |
| | | return toAjax(ivrLibaTemplatetargetService.updateIvrLibaTemplatetarget(ivrLibaTemplatetarget)); |
| | |
| | | */ |
| | | @PreAuthorize("@ss.hasPermi('smartor:ivrtemplatetarget:remove')") |
| | | @Log(title = "话术模板库话术指标", businessType = BusinessType.DELETE) |
| | | @DeleteMapping("/{templateTargetIDs}") |
| | | @GetMapping("/remove/{templateTargetIDs}") |
| | | public AjaxResult remove(@PathVariable String[] templateTargetIDs) |
| | | { |
| | | return toAjax(ivrLibaTemplatetargetService.deleteIvrLibaTemplatetargetByTemplateTargetIDs(templateTargetIDs)); |