| | |
| | | */ |
| | | //@PreAuthorize("@ss.hasPermi('system:wjx:edit')") |
| | | @Log(title = "模板问卷题目", businessType = BusinessType.UPDATE) |
| | | @PutMapping |
| | | @PostMapping("/edit") |
| | | public AjaxResult edit(@RequestBody SvyLibTemplateScriptWjx svyLibTemplateScriptWjx) |
| | | { |
| | | return toAjax(svyLibTemplateScriptWjxService.updateSvyLibTemplateScriptWjx(svyLibTemplateScriptWjx)); |
| | |
| | | */ |
| | | //@PreAuthorize("@ss.hasPermi('system:wjx:remove')") |
| | | @Log(title = "模板问卷题目", businessType = BusinessType.DELETE) |
| | | @DeleteMapping("/{ids}") |
| | | @GetMapping("/{ids}") |
| | | public AjaxResult remove(@PathVariable Long[] ids) |
| | | { |
| | | return toAjax(svyLibTemplateScriptWjxService.deleteSvyLibTemplateScriptWjxByIds(ids)); |