| | |
| | | */ |
| | | @PreAuthorize("@ss.hasPermi('smartor:svytitle:edit')") |
| | | @Log(title = "问卷", businessType = BusinessType.UPDATE) |
| | | @PutMapping |
| | | @PostMapping("/edit") |
| | | public AjaxResult edit(@RequestBody SvyLibTitle svyLibTitle) { |
| | | return toAjax(svyLibTitleService.updateSvyLibTitle(svyLibTitle)); |
| | | } |
| | |
| | | */ |
| | | @PreAuthorize("@ss.hasPermi('smartor:svytitle:remove')") |
| | | @Log(title = "问卷", businessType = BusinessType.DELETE) |
| | | @DeleteMapping("/{svyids}") |
| | | @GetMapping("/remove/{svyids}") |
| | | public AjaxResult remove(@PathVariable Long[] svyids) { |
| | | return toAjax(svyLibTitleService.deleteSvyLibTitleBySvyids(svyids)); |
| | | } |