liusheng
2024-09-18 722fa40345f1fc650eaeae4a721c3ae4106d92a8
ruoyi-admin/src/main/java/com/ruoyi/web/controller/smartor/SvyTaskScriptoptionController.java
@@ -31,7 +31,7 @@
    /**
     * 查询任务问卷问题选项列表
     */
    @PreAuthorize("@ss.hasPermi('system:scriptoption:list')")
    //@PreAuthorize("@ss.hasPermi('system:scriptoption:list')")
    @GetMapping("/list")
    public TableDataInfo list(SvyTaskScriptoption svyTaskScriptoption)
    {
@@ -43,7 +43,7 @@
    /**
     * 导出任务问卷问题选项列表
     */
    @PreAuthorize("@ss.hasPermi('system:scriptoption:export')")
    //@PreAuthorize("@ss.hasPermi('system:scriptoption:export')")
    @Log(title = "任务问卷问题选项", businessType = BusinessType.EXPORT)
    @PostMapping("/export")
    public void export(HttpServletResponse response, SvyTaskScriptoption svyTaskScriptoption)
@@ -56,7 +56,7 @@
    /**
     * 获取任务问卷问题选项详细信息
     */
    @PreAuthorize("@ss.hasPermi('system:scriptoption:query')")
    //@PreAuthorize("@ss.hasPermi('system:scriptoption:query')")
    @GetMapping(value = "/{id}")
    public AjaxResult getInfo(@PathVariable("id") Long id)
    {
@@ -66,7 +66,7 @@
    /**
     * 新增任务问卷问题选项
     */
    @PreAuthorize("@ss.hasPermi('system:scriptoption:add')")
    //@PreAuthorize("@ss.hasPermi('system:scriptoption:add')")
    @Log(title = "任务问卷问题选项", businessType = BusinessType.INSERT)
    @PostMapping
    public AjaxResult add(@RequestBody SvyTaskScriptoption svyTaskScriptoption)
@@ -77,7 +77,7 @@
    /**
     * 修改任务问卷问题选项
     */
    @PreAuthorize("@ss.hasPermi('system:scriptoption:edit')")
    //@PreAuthorize("@ss.hasPermi('system:scriptoption:edit')")
    @Log(title = "任务问卷问题选项", businessType = BusinessType.UPDATE)
    @PutMapping
    public AjaxResult edit(@RequestBody SvyTaskScriptoption svyTaskScriptoption)
@@ -88,7 +88,7 @@
    /**
     * 删除任务问卷问题选项
     */
    @PreAuthorize("@ss.hasPermi('system:scriptoption:remove')")
    //@PreAuthorize("@ss.hasPermi('system:scriptoption:remove')")
    @Log(title = "任务问卷问题选项", businessType = BusinessType.DELETE)
   @DeleteMapping("/{ids}")
    public AjaxResult remove(@PathVariable Long[] ids)