jinpengyong
2023-09-28 a2d9f8585da32fa38f759311effd36da11a99841
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
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);
 
}