liusheng
4 天以前 3d453a41ccd7c69a40bd9bfa31f8c5b159513b6b
smartor/src/main/java/com/smartor/mapper/SysDept2Mapper.java
@@ -12,8 +12,7 @@
 * @author ruoyi
 */
@Mapper
public interface SysDept2Mapper
{
public interface SysDept2Mapper {
    /**
     * 查询部门管理数据
     *
@@ -25,7 +24,7 @@
    /**
     * 根据角色ID查询部门树信息
     *
     * @param roleId 角色ID
     * @param roleId            角色ID
     * @param deptCheckStrictly 部门树选择项是否关联显示
     * @return 选中部门列表
     */
@@ -39,7 +38,7 @@
     */
    public SysDept selectDeptById(Long deptId);
    public SysDept selectDeptByCode(String deptCode);
    public SysDept selectDeptByCode(@Param("deptCode")String deptCode,@Param("orgid")String orgid);
    /**
     * 根据ID查询所有子部门
@@ -91,6 +90,14 @@
    public int insertDept(SysDept dept);
    /**
     * 批量新增部门信息
     *
     * @param depts 部门信息
     * @return 结果
     */
    public int batchDept(List<SysDept> depts);
    /**
     * 修改部门信息
     *
     * @param dept 部门信息