|  |  | 
 |  |  |     /** | 
 |  |  |      * 查询模板问卷题目列表 | 
 |  |  |      */ | 
 |  |  |     @PreAuthorize("@ss.hasPermi('system:script:list')") | 
 |  |  |     //@PreAuthorize("@ss.hasPermi('system:script:list')") | 
 |  |  |     @GetMapping("/list") | 
 |  |  |     public TableDataInfo list(SvyLibTemplateScript svyLibTemplateScript) | 
 |  |  |     { | 
 |  |  | 
 |  |  |     /** | 
 |  |  |      * 导出模板问卷题目列表 | 
 |  |  |      */ | 
 |  |  |     @PreAuthorize("@ss.hasPermi('system:script:export')") | 
 |  |  |     //@PreAuthorize("@ss.hasPermi('system:script:export')") | 
 |  |  |     @Log(title = "模板问卷题目", businessType = BusinessType.EXPORT) | 
 |  |  |     @PostMapping("/export") | 
 |  |  |     public void export(HttpServletResponse response, SvyLibTemplateScript svyLibTemplateScript) | 
 |  |  | 
 |  |  |     /** | 
 |  |  |      * 获取模板问卷题目详细信息 | 
 |  |  |      */ | 
 |  |  |     @PreAuthorize("@ss.hasPermi('system:script:query')") | 
 |  |  |     //@PreAuthorize("@ss.hasPermi('system:script:query')") | 
 |  |  |     @GetMapping(value = "/{topicid}") | 
 |  |  |     public AjaxResult getInfo(@PathVariable("topicid") Long topicid) | 
 |  |  |     { | 
 |  |  | 
 |  |  |     /** | 
 |  |  |      * 新增模板问卷题目 | 
 |  |  |      */ | 
 |  |  |     @PreAuthorize("@ss.hasPermi('system:script:add')") | 
 |  |  |     //@PreAuthorize("@ss.hasPermi('system:script:add')") | 
 |  |  |     @Log(title = "模板问卷题目", businessType = BusinessType.INSERT) | 
 |  |  |     @PostMapping | 
 |  |  |     public AjaxResult add(@RequestBody SvyLibTemplateScript svyLibTemplateScript) | 
 |  |  | 
 |  |  |     /** | 
 |  |  |      * 修改模板问卷题目 | 
 |  |  |      */ | 
 |  |  |     @PreAuthorize("@ss.hasPermi('system:script:edit')") | 
 |  |  |     //@PreAuthorize("@ss.hasPermi('system:script:edit')") | 
 |  |  |     @Log(title = "模板问卷题目", businessType = BusinessType.UPDATE) | 
 |  |  |     @PutMapping | 
 |  |  |     public AjaxResult edit(@RequestBody SvyLibTemplateScript svyLibTemplateScript) | 
 |  |  | 
 |  |  |     /** | 
 |  |  |      * 删除模板问卷题目 | 
 |  |  |      */ | 
 |  |  |     @PreAuthorize("@ss.hasPermi('system:script:remove')") | 
 |  |  |     //@PreAuthorize("@ss.hasPermi('system:script:remove')") | 
 |  |  |     @Log(title = "模板问卷题目", businessType = BusinessType.DELETE) | 
 |  |  |    @DeleteMapping("/{topicids}") | 
 |  |  |     public AjaxResult remove(@PathVariable Long[] topicids) |