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();
|
|
|
|
}
|