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