SysDeptMapper.java 1005 B

1234567891011121314151617181920212223242526272829303132333435363738394041
  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. /**
  28. * 修改子元素关系
  29. *
  30. * @param depts 子元素
  31. * @return 结果
  32. */
  33. public int updateDeptChildren(@Param("depts") List<SysDept> depts);
  34. }