| | |
| | | /** |
| | | * 查询机构列表 |
| | | */ |
| | | public List<OrganizationChartEntity> selectConfigList(String parentId,String grade); |
| | | public List<OrganizationChartEntity> selectConfigList(String parentId,String grade,List<String> ids); |
| | | |
| | | |
| | | public List<OrganizationChartEntity> selectConfigList(List<String> ids); |
| | | |
| | | /** |
| | | * 新增机构 |
| | |
| | | /** |
| | | * 查询机构列表(分页) |
| | | */ |
| | | List<OrganizationChartEntity> queryList(IPage<OrganizationChartEntity> page, Integer state, String organizationName); |
| | | List<OrganizationChartEntity> queryList(IPage<OrganizationChartEntity> page, Integer state, String organizationName,List<String> ids); |
| | | |
| | | |
| | | /** |
| | | * 统计数量(部门应用) |
| | | */ |
| | | int countList(String organizationName); |
| | | int countList(String organizationName,List<String> ids); |
| | | |
| | | /** |
| | | * 获取部门下子部门的全部id |
| | | * @param id |
| | | * @return |
| | | */ |
| | | List<String> getIds(String id); |
| | | |
| | | |
| | | /** |
| | | * 根据id 查询是否有子部门 |
| | | * @param parentId |
| | | * @param grade |
| | | * @return |
| | | */ |
| | | public List<OrganizationChartEntity> selectParentList(String parentId,String grade); |
| | | |
| | | /** |
| | | * 获取该部门所有上级部门及其所有下级部门 |
| | | * @param id |
| | | * @return |
| | | */ |
| | | List<String> getDepartmentId(String id); |
| | | |
| | | |
| | | /** |
| | | * 获取该部门的一级部门 |
| | | * @param id |
| | | * @return |
| | | */ |
| | | String getStairId(String id); |
| | | |
| | | } |