liusheng
2024-01-23 c0d52001041cd7806cac800611489172b335e4b0
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)));