|  |  | 
 |  |  |     /** | 
 |  |  |      * 查询问卷任务模板指标选项库列表 | 
 |  |  |      */ | 
 |  |  |     @PreAuthorize("@ss.hasPermi('system:targetoption:list')") | 
 |  |  |     //@PreAuthorize("@ss.hasPermi('system:targetoption:list')") | 
 |  |  |     @GetMapping("/list") | 
 |  |  |     public TableDataInfo list(SvyTaskTemplateTargetoption svyTaskTemplateTargetoption) { | 
 |  |  |         startPage(); | 
 |  |  | 
 |  |  |     /** | 
 |  |  |      * 导出问卷任务模板指标选项库列表 | 
 |  |  |      */ | 
 |  |  |     @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) { | 
 |  |  | 
 |  |  |     /** | 
 |  |  |      * 获取问卷任务模板指标选项库详细信息 | 
 |  |  |      */ | 
 |  |  |     @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)); | 
 |  |  | 
 |  |  |     /** | 
 |  |  |      * 新增问卷任务模板指标选项库 | 
 |  |  |      */ | 
 |  |  |     @PreAuthorize("@ss.hasPermi('system:targetoption:add')") | 
 |  |  |     //@PreAuthorize("@ss.hasPermi('system:targetoption:add')") | 
 |  |  |     @Log(title = "问卷任务模板指标选项库", businessType = BusinessType.INSERT) | 
 |  |  |     @PostMapping | 
 |  |  |     public AjaxResult add(@RequestBody SvyTaskTemplateTargetoption svyTaskTemplateTargetoption) { | 
 |  |  | 
 |  |  |     /** | 
 |  |  |      * 修改问卷任务模板指标选项库 | 
 |  |  |      */ | 
 |  |  |     @PreAuthorize("@ss.hasPermi('system:targetoption:edit')") | 
 |  |  |     //@PreAuthorize("@ss.hasPermi('system:targetoption:edit')") | 
 |  |  |     @Log(title = "问卷任务模板指标选项库", businessType = BusinessType.UPDATE) | 
 |  |  |     @PutMapping | 
 |  |  |     public AjaxResult edit(@RequestBody SvyTaskTemplateTargetoption svyTaskTemplateTargetoption) { | 
 |  |  | 
 |  |  |     /** | 
 |  |  |      * 删除问卷任务模板指标选项库 | 
 |  |  |      */ | 
 |  |  |     @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) { |