liusheng
2024-04-24 a894bc6373154d5cfd28b7f46df3c4cfa01a7b9b
ruoyi-admin/src/main/java/com/ruoyi/web/controller/system/SysGradeController.java
@@ -39,7 +39,7 @@
    /**
     * 查询年级信息列表
     */
    @PreAuthorize("@ss.hasPermi('system:grade:list')")
    // @PreAuthorize("@ss.hasPermi('system:grade:list')")
    @GetMapping("/list")
    public TableDataInfo list(SysGrade sysGrade)
    {
@@ -51,7 +51,7 @@
    /**
     * 导出年级信息列表
     */
    @PreAuthorize("@ss.hasPermi('system:grade:export')")
    // @PreAuthorize("@ss.hasPermi('system:grade:export')")
    @Log(title = "年级信息", businessType = BusinessType.EXPORT)
    @GetMapping("/export")
    public AjaxResult export(SysGrade sysGrade)
@@ -64,7 +64,7 @@
    /**
     * 获取年级信息详细信息
     */
    @PreAuthorize("@ss.hasPermi('system:grade:query')")
    // @PreAuthorize("@ss.hasPermi('system:grade:query')")
    @GetMapping(value = "/{gradeId}")
    public AjaxResult getInfo(@PathVariable("gradeId") Long gradeId)
    {
@@ -74,7 +74,7 @@
    /**
     * 新增年级信息
     */
    @PreAuthorize("@ss.hasPermi('system:grade:add')")
    // @PreAuthorize("@ss.hasPermi('system:grade:add')")
    @Log(title = "年级信息", businessType = BusinessType.INSERT)
    @PostMapping
    @RepeatSubmit
@@ -86,9 +86,9 @@
    /**
     * 修改年级信息
     */
    @PreAuthorize("@ss.hasPermi('system:grade:edit')")
    // @PreAuthorize("@ss.hasPermi('system:grade:edit')")
    @Log(title = "年级信息", businessType = BusinessType.UPDATE)
    @PutMapping
    @PostMapping("/edit")
    @RepeatSubmit
    public AjaxResult edit(@RequestBody SysGrade sysGrade)
    {
@@ -98,9 +98,9 @@
    /**
     * 删除年级信息
     */
    @PreAuthorize("@ss.hasPermi('system:grade:remove')")
    // @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)));