| | |
| | | |
| | | |
| | | import com.gkhy.exam.common.domain.entity.SysDept; |
| | | import com.gkhy.exam.system.domain.SysDeptManage; |
| | | import com.gkhy.exam.system.domain.req.SysDeptPageReq; |
| | | import com.gkhy.exam.system.domain.vo.DeptVo; |
| | | import org.apache.ibatis.annotations.Param; |
| | | |
| | |
| | | * @return 部门信息集合 |
| | | */ |
| | | public List<DeptVo> selectDeptList(SysDept dept); |
| | | |
| | | |
| | | public List<DeptVo> selectDeptPageList(SysDeptPageReq dept); |
| | | |
| | | |
| | | int selectDeptListCount(SysDept dept); |
| | | |
| | | /** |
| | | * |
| | |
| | | * @return 部门列表 |
| | | */ |
| | | public List<SysDept> selectChildrenDeptById(Long deptId); |
| | | |
| | | /** |
| | | * 过滤掉本身和子级部门 |
| | | * @param deptId |
| | | * @return |
| | | */ |
| | | |
| | | List<SysDept> getParentInfo(Long deptId); |
| | | |
| | | /** |
| | | * 根据ID查询所有子部门(正常状态) |
| | |
| | | * @return 结果 |
| | | */ |
| | | public int deleteDeptById(Long deptId); |
| | | |
| | | |
| | | int insetMangeBatch(List<SysDeptManage> sysDeptManages); |
| | | int deleteMangeBatch(long deptId); |
| | | |
| | | List<SysDeptManage> getAllManage(long deptId); |
| | | } |