| | |
| | | |
| | | import com.moral.api.entity.Organization; |
| | | import com.baomidou.mybatisplus.extension.service.IService; |
| | | import org.apache.ibatis.annotations.Param; |
| | | |
| | | import java.util.List; |
| | | |
| | | /** |
| | | * <p> |
| | |
| | | */ |
| | | 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(); |
| | | |
| | | |
| | | } |