| | |
| | | */ |
| | | package cn.gistack.system.service; |
| | | |
| | | import cn.gistack.common.node.DeptUserTreeNode; |
| | | import cn.gistack.common.node.TreeNode; |
| | | import cn.gistack.system.entity.Dept; |
| | | import cn.gistack.system.vo.DeptVO; |
| | | import com.baomidou.mybatisplus.extension.service.IService; |
| | |
| | | * @return |
| | | */ |
| | | List<DeptVO> tree(String tenantId); |
| | | List<DeptVO> treeByParentId(String parentId); |
| | | |
| | | /** |
| | | * 懒加载树形结构 |
| | |
| | | */ |
| | | List<DeptVO> search(String deptName, Long parentId); |
| | | |
| | | /** |
| | | * 查询组织机构树数据(下级包含人员信息) |
| | | * @param treeNode |
| | | * @return |
| | | */ |
| | | List<TreeNode> getDeptAndUserTree(DeptUserTreeNode treeNode); |
| | | |
| | | int updateAllDept(); |
| | | |
| | | boolean updateDeptByTb(String adCode, String resGuid); |
| | | |
| | | /** |
| | | * 根据机构ids获取水库编码 |
| | | * @param deptIds |
| | | * @return |
| | | */ |
| | | String getResDept(String deptIds); |
| | | } |