| | |
| | | import org.springblade.modules.system.entity.Dept; |
| | | import org.springblade.modules.system.node.TreeNodes; |
| | | import org.springblade.modules.system.vo.DeptVO; |
| | | import org.springblade.modules.system.vo.UserVO; |
| | | |
| | | import java.util.List; |
| | | import java.util.Map; |
| | |
| | | * |
| | | * @param tenantId |
| | | * @param parentId |
| | | * @param type 不为空时查公安局 |
| | | * @return |
| | | */ |
| | | List<DeptVO> lazyTree(String tenantId, Long parentId); |
| | | List<DeptVO> lazyTree(String tenantId, Long parentId,Integer type); |
| | | |
| | | /** |
| | | * 懒加载获取树形节点 |
| | |
| | | /** |
| | | * 懒加载获取部门树形结构,不包含顶级管理员公安局 |
| | | */ |
| | | List<DeptVO> securityLazyTree(String jurisdiction, Long parentId); |
| | | List<DeptVO> securityLazyTree(@Param("jurisdiction") String jurisdiction, |
| | | @Param("parentId")Long parentId); |
| | | List<DeptVO> selectInfo(); |
| | | List<DeptVO> selectInfos(); |
| | | |
| | | /** |
| | | * 查询所有的部门信息 |
| | | * @return |
| | |
| | | */ |
| | | List<DeptVO> lazyTreeJurisdiction(@Param("jurisdiction")String jurisdiction, |
| | | @Param("deptId")Long parentId); |
| | | |
| | | List<DeptVO> lazyTreeCity(String tenantId, Long parentId); |
| | | |
| | | List<DeptVO> lazyTreeCityOne(String tenantId, Long parentId); |
| | | |
| | | /** |
| | | * 查询用户信息 |
| | | * @param userId |
| | | * @return |
| | | */ |
| | | UserVO getUserInfoById(String userId); |
| | | |
| | | /** |
| | | * 查所有公安局数据 |
| | | * @return |
| | | */ |
| | | List<DeptVO> lazyTreeByJurisdiction(); |
| | | |
| | | /** |
| | | * 查询所有的保安公司机构信息 |
| | | * @return |
| | | */ |
| | | List<DeptVO> securityDeptUnitList(@Param("parentId")Long parentId, |
| | | @Param("deptId")Long deptId); |
| | | |
| | | /** |
| | | * 查询当前保安单位下的派遣单位信息 |
| | | * @param deptId |
| | | * @return |
| | | */ |
| | | List<DeptVO> getDispatchUnitList(@Param("deptId") Long deptId); |
| | | } |