| | |
| | | /** |
| | | * 查询问卷问题选项列表 |
| | | */ |
| | | @PreAuthorize("@ss.hasPermi('smartor:svytopicoption:list')") |
| | | //@PreAuthorize("@ss.hasPermi('smartor:svytopicoption:list')") |
| | | @PostMapping("/list") |
| | | public TableDataInfo list(@RequestBody SvyLibScriptOption svyLibTopicoption) |
| | | { |
| | |
| | | /** |
| | | * 导出问卷问题选项列表 |
| | | */ |
| | | @PreAuthorize("@ss.hasPermi('smartor:svytopicoption:export')") |
| | | //@PreAuthorize("@ss.hasPermi('smartor:svytopicoption:export')") |
| | | @Log(title = "问卷问题选项", businessType = BusinessType.EXPORT) |
| | | @PostMapping("/export") |
| | | public void export(HttpServletResponse response, SvyLibScriptOption svyLibTopicoption) |
| | |
| | | /** |
| | | * 获取问卷问题选项详细信息 |
| | | */ |
| | | @PreAuthorize("@ss.hasPermi('smartor:svytopicoption:query')") |
| | | //@PreAuthorize("@ss.hasPermi('smartor:svytopicoption:query')") |
| | | @GetMapping(value = "/{optionid}") |
| | | public AjaxResult getInfo(@PathVariable("optionid") Long optionid) |
| | | { |
| | |
| | | /** |
| | | * 新增问卷问题选项 |
| | | */ |
| | | @PreAuthorize("@ss.hasPermi('smartor:svytopicoption:add')") |
| | | //@PreAuthorize("@ss.hasPermi('smartor:svytopicoption:add')") |
| | | @Log(title = "问卷问题选项", businessType = BusinessType.INSERT) |
| | | @PostMapping("/add") |
| | | public AjaxResult add(@RequestBody SvyLibScriptOption svyLibTopicoption) |
| | |
| | | /** |
| | | * 修改问卷问题选项 |
| | | */ |
| | | @PreAuthorize("@ss.hasPermi('smartor:svytopicoption:edit')") |
| | | //@PreAuthorize("@ss.hasPermi('smartor:svytopicoption:edit')") |
| | | @Log(title = "问卷问题选项", businessType = BusinessType.UPDATE) |
| | | @PostMapping("/edit") |
| | | public AjaxResult edit(@RequestBody SvyLibScriptOption svyLibTopicoption) |
| | |
| | | /** |
| | | * 删除问卷问题选项 |
| | | */ |
| | | @PreAuthorize("@ss.hasPermi('smartor:svytopicoption:remove')") |
| | | //@PreAuthorize("@ss.hasPermi('smartor:svytopicoption:remove')") |
| | | @Log(title = "问卷问题选项", businessType = BusinessType.DELETE) |
| | | @GetMapping("/remove/{optionids}") |
| | | public AjaxResult remove(@PathVariable Long[] optionids) |