SysDeptMapper.java 849 B

123456789101112131415161718192021222324252627282930313233
  1. package com.ruoyi.system.mapper;
  2. import com.ruoyi.common.core.domain.entity.SysDept;
  3. import com.ruoyi.common.core.page.BaseMapperPlus;
  4. import org.apache.ibatis.annotations.Param;
  5. import java.util.List;
  6. /**
  7. * 部门管理 数据层
  8. *
  9. * @author ruoyi
  10. */
  11. public interface SysDeptMapper extends BaseMapperPlus<SysDept> {
  12. /**
  13. * 查询部门管理数据
  14. *
  15. * @param dept 部门信息
  16. * @return 部门信息集合
  17. */
  18. public List<SysDept> selectDeptList(SysDept dept);
  19. /**
  20. * 根据角色ID查询部门树信息
  21. *
  22. * @param roleId 角色ID
  23. * @param deptCheckStrictly 部门树选择项是否关联显示
  24. * @return 选中部门列表
  25. */
  26. public List<Integer> selectDeptListByRoleId(@Param("roleId") Long roleId, @Param("deptCheckStrictly") boolean deptCheckStrictly);
  27. }