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