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