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