fuyongxin
2026-06-03 1fd34350ea68fe820c4b62881b13c9f01082e6c0
ruoyi-modules/ruoyi-system/src/main/java/com/ruoyi/system/mapper/SysDeptMapper.java
@@ -1,9 +1,7 @@
package com.ruoyi.system.mapper;
import java.util.List;
import org.apache.ibatis.annotations.Param;
import com.ruoyi.system.api.domain.SysDept;
/**
@@ -28,7 +26,7 @@
     * @param deptCheckStrictly 部门树选择项是否关联显示
     * @return 选中部门列表
     */
    public List<Integer> selectDeptListByRoleId(@Param("roleId") Long roleId, @Param("deptCheckStrictly") boolean deptCheckStrictly);
    public List<Long> selectDeptListByRoleId(@Param("roleId") Long roleId, @Param("deptCheckStrictly") boolean deptCheckStrictly);
    /**
     * 根据部门ID查询信息
@@ -111,6 +109,13 @@
    public int updateDeptChildren(@Param("depts") List<SysDept> depts);
    /**
     * 保存部门排序
     *
     * @param dept 部门信息
     */
    public void updateDeptSort(SysDept dept);
    /**
     * 删除部门管理信息
     * 
     * @param deptId 部门ID