tuqin
2026-09-24 034f720f0bbc7f253c15613c28d994d7abf401eb
src/main/java/com/ruoyi/project/system/controller/SysDeptController.java
@@ -131,4 +131,15 @@
        deptService.checkDeptDataScope(deptId);
        return toAjax(deptService.deleteDeptById(deptId));
    }
    /**
     * 修改部门排序(批量)
     */
    @PreAuthorize("@ss.hasPermi('system:dept:edit')")
    @Log(title = "部门管理", businessType = BusinessType.UPDATE)
    @PutMapping("/sort")
    public AjaxResult updateSort(@RequestBody List<SysDept> depts)
    {
        return toAjax(deptService.updateDeptSort(depts));
    }
}