jinpengyong
2023-10-30 0593108084bd368d512290053d81454df79e06e5
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
45
package com.moral.api.service;
 
import com.moral.api.entity.Organization;
import com.baomidou.mybatisplus.extension.service.IService;
 
import java.util.List;
 
/**
 * <p>
 * 组织表 服务类
 * </p>
 *
 * @author moral
 * @since 2021-04-06
 */
public interface OrganizationService extends IService<Organization> {
 
    /**
    * @Description: 查询组织拥有的子组织
            * @Param: [id]
            * @return: java.util.List<com.moral.api.entity.Organization>
            * @Author: 陈凯裕
            * @Date: 2021/7/1
            */
    List<Organization> getChildrenOrganizationsById(Integer id);
 
    /**
    * @Description: 根据id获取组织
            * @Param: [id]
            * @return: com.moral.api.entity.Organization
            * @Author: 陈凯裕
            * @Date: 2021/9/26
            */
    Organization getOrganizationById(Integer id);
 
    /**
     * 根据用户查询组织
     * @return
     */
 
    List<Organization> getOrganizations();
 
 
 
}