liusheng
2024-09-18 907641e56c2085aaa81f267946dc3e3e9fca73e7
ruoyi-admin/src/main/java/com/ruoyi/web/controller/smartor/SvyTaskAnswerController.java
@@ -30,7 +30,7 @@
    /**
     * 查询任务问卷问题选项列表
     */
    @PreAuthorize("@ss.hasPermi('system:answer:list')")
    //@PreAuthorize("@ss.hasPermi('system:answer:list')")
    @GetMapping("/list")
    public TableDataInfo list(SvyTaskAnswer svyTaskAnswer) {
        startPage();
@@ -41,7 +41,7 @@
    /**
     * 导出任务问卷问题选项列表
     */
    @PreAuthorize("@ss.hasPermi('system:answer:export')")
    //@PreAuthorize("@ss.hasPermi('system:answer:export')")
    @Log(title = "任务问卷问题选项", businessType = BusinessType.EXPORT)
    @PostMapping("/export")
    public void export(HttpServletResponse response, SvyTaskAnswer svyTaskAnswer) {
@@ -53,7 +53,7 @@
    /**
     * 获取任务问卷问题选项详细信息
     */
    @PreAuthorize("@ss.hasPermi('system:answer:query')")
    //@PreAuthorize("@ss.hasPermi('system:answer:query')")
    @GetMapping(value = "/{id}")
    public AjaxResult getInfo(@PathVariable("id") Long id) {
        return success(svyTaskAnswerService.selectSvyTaskAnswerById(id));
@@ -62,7 +62,7 @@
    /**
     * 新增任务问卷问题选项
     */
    @PreAuthorize("@ss.hasPermi('system:answer:add')")
    //@PreAuthorize("@ss.hasPermi('system:answer:add')")
    @Log(title = "任务问卷问题选项", businessType = BusinessType.INSERT)
    @PostMapping
    public AjaxResult add(@RequestBody SvyTaskAnswer svyTaskAnswer) {
@@ -72,7 +72,7 @@
    /**
     * 修改任务问卷问题选项
     */
    @PreAuthorize("@ss.hasPermi('system:answer:edit')")
    //@PreAuthorize("@ss.hasPermi('system:answer:edit')")
    @Log(title = "任务问卷问题选项", businessType = BusinessType.UPDATE)
    @PutMapping
    public AjaxResult edit(@RequestBody SvyTaskAnswer svyTaskAnswer) {
@@ -82,7 +82,7 @@
    /**
     * 删除任务问卷问题选项
     */
    @PreAuthorize("@ss.hasPermi('system:answer:remove')")
    //@PreAuthorize("@ss.hasPermi('system:answer:remove')")
    @Log(title = "任务问卷问题选项", businessType = BusinessType.DELETE)
    @DeleteMapping("/{ids}")
    public AjaxResult remove(@PathVariable Long[] ids) {