liusheng
2024-09-18 907641e56c2085aaa81f267946dc3e3e9fca73e7
ruoyi-admin/src/main/java/com/ruoyi/web/controller/smartor/SvyTaskTemplateScriptController.java
@@ -31,7 +31,7 @@
    /**
     * 查询问卷任务模版问题话术库列表
     */
    @PreAuthorize("@ss.hasPermi('system:script:list')")
    //@PreAuthorize("@ss.hasPermi('system:script:list')")
    @GetMapping("/list")
    public TableDataInfo list(SvyTaskTemplateScript svyTaskTemplateScript)
    {
@@ -43,7 +43,7 @@
    /**
     * 导出问卷任务模版问题话术库列表
     */
    @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)
@@ -56,7 +56,7 @@
    /**
     * 获取问卷任务模版问题话术库详细信息
     */
    @PreAuthorize("@ss.hasPermi('system:script:query')")
    //@PreAuthorize("@ss.hasPermi('system:script:query')")
    @GetMapping(value = "/{ID}")
    public AjaxResult getInfo(@PathVariable("ID") Long ID)
    {
@@ -66,7 +66,7 @@
    /**
     * 新增问卷任务模版问题话术库
     */
    @PreAuthorize("@ss.hasPermi('system:script:add')")
    //@PreAuthorize("@ss.hasPermi('system:script:add')")
    @Log(title = "问卷任务模版问题话术库", businessType = BusinessType.INSERT)
    @PostMapping
    public AjaxResult add(@RequestBody SvyTaskTemplateScript svyTaskTemplateScript)
@@ -77,7 +77,7 @@
    /**
     * 修改问卷任务模版问题话术库
     */
    @PreAuthorize("@ss.hasPermi('system:script:edit')")
    //@PreAuthorize("@ss.hasPermi('system:script:edit')")
    @Log(title = "问卷任务模版问题话术库", businessType = BusinessType.UPDATE)
    @PutMapping
    public AjaxResult edit(@RequestBody SvyTaskTemplateScript svyTaskTemplateScript)
@@ -88,7 +88,7 @@
    /**
     * 删除问卷任务模版问题话术库
     */
    @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)