From afaadcfef9aa4213533d2055e77ce2a69fe087f1 Mon Sep 17 00:00:00 2001 From: fengjin <1435304038@qq.com> Date: 星期三, 23 十一月 2022 14:01:02 +0800 Subject: [PATCH] Merge branch 'zigonggao_dev' into huacheng_test --- flower_city/src/main/java/com/dg/core/service/IOrganizationChartService.java | 16 +++++++++++++--- 1 files changed, 13 insertions(+), 3 deletions(-) diff --git a/flower_city/src/main/java/com/dg/core/service/IOrganizationChartService.java b/flower_city/src/main/java/com/dg/core/service/IOrganizationChartService.java index 6bf74b7..af45ab8 100644 --- a/flower_city/src/main/java/com/dg/core/service/IOrganizationChartService.java +++ b/flower_city/src/main/java/com/dg/core/service/IOrganizationChartService.java @@ -10,7 +10,10 @@ /** * 查询机构列表 */ - 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); /** * 新增机构 @@ -46,13 +49,13 @@ /** * 查询机构列表(分页) */ - 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 @@ -70,4 +73,11 @@ */ public List<OrganizationChartEntity> selectParentList(String parentId,String grade); + /** + * 获取该部门所有上级部门及其所有下级部门 + * @param id + * @return + */ + List<String> getDepartmentId(String id); + } -- Gitblit v1.7.1