liusheng
2023-11-10 6f344e6360751574f7e03b21c00cfa3f4b2bc099
ruoyi-admin/src/main/java/com/ruoyi/web/controller/system/SysGradeController.java
@@ -88,7 +88,7 @@
     */
    @PreAuthorize("@ss.hasPermi('system:grade:edit')")
    @Log(title = "年级信息", businessType = BusinessType.UPDATE)
    @PutMapping
    @PostMapping("/edit")
    @RepeatSubmit
    public AjaxResult edit(@RequestBody SysGrade sysGrade)
    {
@@ -100,7 +100,7 @@
     */
    @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)));