| | |
| | | /** |
| | | * 查询问卷任务模版问题话术库列表 |
| | | */ |
| | | @PreAuthorize("@ss.hasPermi('system:script:list')") |
| | | //@PreAuthorize("@ss.hasPermi('system:script:list')") |
| | | @GetMapping("/list") |
| | | public TableDataInfo list(SvyTaskTemplateScript svyTaskTemplateScript) |
| | | { |
| | |
| | | /** |
| | | * 导出问卷任务模版问题话术库列表 |
| | | */ |
| | | @PreAuthorize("@ss.hasPermi('system:script:export')") |
| | | //@PreAuthorize("@ss.hasPermi('system:script:export')") |
| | | @Log(title = "问卷任务模版问题话术库", businessType = BusinessType.EXPORT) |
| | | @PostMapping("/export") |
| | | public void export(HttpServletResponse response, SvyTaskTemplateScript svyTaskTemplateScript) |
| | |
| | | /** |
| | | * 获取问卷任务模版问题话术库详细信息 |
| | | */ |
| | | @PreAuthorize("@ss.hasPermi('system:script:query')") |
| | | //@PreAuthorize("@ss.hasPermi('system:script:query')") |
| | | @GetMapping(value = "/{ID}") |
| | | public AjaxResult getInfo(@PathVariable("ID") Long ID) |
| | | { |
| | |
| | | /** |
| | | * 新增问卷任务模版问题话术库 |
| | | */ |
| | | @PreAuthorize("@ss.hasPermi('system:script:add')") |
| | | //@PreAuthorize("@ss.hasPermi('system:script:add')") |
| | | @Log(title = "问卷任务模版问题话术库", businessType = BusinessType.INSERT) |
| | | @PostMapping |
| | | public AjaxResult add(@RequestBody SvyTaskTemplateScript svyTaskTemplateScript) |
| | |
| | | /** |
| | | * 修改问卷任务模版问题话术库 |
| | | */ |
| | | @PreAuthorize("@ss.hasPermi('system:script:edit')") |
| | | //@PreAuthorize("@ss.hasPermi('system:script:edit')") |
| | | @Log(title = "问卷任务模版问题话术库", businessType = BusinessType.UPDATE) |
| | | @PutMapping |
| | | public AjaxResult edit(@RequestBody SvyTaskTemplateScript svyTaskTemplateScript) |
| | |
| | | /** |
| | | * 删除问卷任务模版问题话术库 |
| | | */ |
| | | @PreAuthorize("@ss.hasPermi('system:script:remove')") |
| | | //@PreAuthorize("@ss.hasPermi('system:script:remove')") |
| | | @Log(title = "问卷任务模版问题话术库", businessType = BusinessType.DELETE) |
| | | @DeleteMapping("/{IDs}") |
| | | public AjaxResult remove(@PathVariable Long[] IDs) |