| | |
| | | */ |
| | | @PreAuthorize("@ss.hasPermi('system:grade:edit')") |
| | | @Log(title = "年级信息", businessType = BusinessType.UPDATE) |
| | | @PutMapping |
| | | @PostMapping("/edit") |
| | | @RepeatSubmit |
| | | public AjaxResult edit(@RequestBody SysGrade sysGrade) |
| | | { |
| | |
| | | */ |
| | | @PreAuthorize("@ss.hasPermi('system:grade:remove')") |
| | | @Log(title = "年级信息", businessType = BusinessType.DELETE) |
| | | @DeleteMapping("/{gradeIds}") |
| | | @GetMapping("/remove/{gradeIds}") |
| | | public AjaxResult remove(@PathVariable Long[] gradeIds) |
| | | { |
| | | return toAjax(sysGradeService.removeByIds(Arrays.asList(gradeIds))); |