jinpengyong
2024-03-07 36844dfeea0914de1138be9ebdf27c92d745d73a
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
46
47
48
49
50
51
52
53
54
55
package com.moral.api.service;
 
import com.moral.api.entity.Organization;
import com.baomidou.mybatisplus.extension.service.IService;
import org.apache.ibatis.annotations.Param;
 
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);
 
 
    /**
     * 查询关联组织信息
     * @param organizationId
     * @return
     */
    List<Integer> orgIdList( Integer organizationId);
 
 
    /**
     * 根据账号获取组织信息
     * @param
     * @return
     */
    List<Organization> getOrganizationId();
 
 
    List<Organization> queryDevices();
}