| | |
| | | */ |
| | | @PreAuthorize("@ss.hasPermi('system:class:edit')") |
| | | @Log(title = "班级信息", businessType = BusinessType.UPDATE) |
| | | @PutMapping |
| | | @PostMapping("/edit") |
| | | @RepeatSubmit |
| | | public AjaxResult edit(@RequestBody SysClass sysClass) |
| | | { |
| | |
| | | */ |
| | | @PreAuthorize("@ss.hasPermi('system:class:remove')") |
| | | @Log(title = "班级信息", businessType = BusinessType.DELETE) |
| | | @DeleteMapping("/{classIds}") |
| | | @GetMapping("/remove/{classIds}") |
| | | public AjaxResult remove(@PathVariable Long[] classIds) |
| | | { |
| | | return toAjax(sysClassService.removeByIds(Arrays.asList(classIds))); |