| | |
| | | package com.ruoyi.system.mapper; |
| | | |
| | | import java.util.List; |
| | | |
| | | import com.baomidou.mybatisplus.core.mapper.BaseMapper; |
| | | import org.apache.ibatis.annotations.Param; |
| | | import com.ruoyi.common.core.domain.entity.SysDept; |
| | | |
| | |
| | | * |
| | | * @author ruoyi |
| | | */ |
| | | public interface SysDeptMapper |
| | | public interface SysDeptMapper extends BaseMapper<SysDept> |
| | | { |
| | | /** |
| | | * 查询部门管理数据 |
| | |
| | | * @return 结果 |
| | | */ |
| | | public int deleteDeptById(Long deptId); |
| | | |
| | | public List<Long> getChildrenDeptIdList(@Param("deptIdList")List<Long> deptIdList); |
| | | |
| | | public List<Long> selectDeptIdBySub(Long deptId); |
| | | |
| | | public List<Long> selectRoleDeptIdByUsersId(String usersId); |
| | | |
| | | public List<SysDept> getParentsDeptListByDeptId(Long deptId); |
| | | |
| | | public List<SysDept> selectNextChildrenDeptByIdAndInList(@Param("deptId")Long deptId,@Param("deptIdList")List<Long> deptIdList); |
| | | } |