| | |
| | | * @author ruoyi |
| | | */ |
| | | @Mapper |
| | | public interface SysDept2Mapper |
| | | { |
| | | public interface SysDept2Mapper { |
| | | /** |
| | | * 查询部门管理数据 |
| | | * |
| | |
| | | /** |
| | | * 根据角色ID查询部门树信息 |
| | | * |
| | | * @param roleId 角色ID |
| | | * @param roleId 角色ID |
| | | * @param deptCheckStrictly 部门树选择项是否关联显示 |
| | | * @return 选中部门列表 |
| | | */ |
| | |
| | | */ |
| | | public SysDept selectDeptById(Long deptId); |
| | | |
| | | public SysDept selectDeptByCode(String deptCode); |
| | | public SysDept selectDeptByCode(@Param("deptCode")String deptCode,@Param("orgid")String orgid); |
| | | |
| | | /** |
| | | * 根据ID查询所有子部门 |
| | |
| | | public int insertDept(SysDept dept); |
| | | |
| | | /** |
| | | * 批量新增部门信息 |
| | | * |
| | | * @param depts 部门信息 |
| | | * @return 结果 |
| | | */ |
| | | public int batchDept(List<SysDept> depts); |
| | | |
| | | /** |
| | | * 修改部门信息 |
| | | * |
| | | * @param dept 部门信息 |