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