zhaozhengjie
2022-09-23 4caee77833d46a483a32ea664ae7f4c4d7bc1096
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
package com.dg.core.service;
 
import com.dg.core.db.gen.entity.OrganizationChartEntity;
 
import java.util.List;
 
public interface IOrganizationChartService
{
    /**
     * 查询机构列表
     */
    public List<OrganizationChartEntity> selectConfigList(String parentId,String grade);
 
    /**
     * 新增机构
     */
    public int insertConfig(OrganizationChartEntity entity);
 
    /**
     * 更新机构
     */
    public int updateConfig(OrganizationChartEntity entity);
 
    /**
     * 删除机构
     */
    public int deleteConfigById(String Id);
 
    /**
     * 统计数量
     */
    public int countNum();
 
    /**
     * 查询机构列表(不分级不分页按等级排序)
     */
    List<OrganizationChartEntity> selectList();
 
 
    /**
     * 根据id查取消组织机构
     */
    OrganizationChartEntity selectConfigById(String id);
}