package com.yunzhi.marketing.xlk.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.yunzhi.marketing.xlk.entity.Institution;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * <p>
 * 组织结构表  Mapper 接口
 * </p>
 *
 * @author jobob
 * @since 2021-06-22
 */
@Mapper
public interface InstitutionMapper extends BaseMapper<Institution> {

    List<Institution> getAllByUser(Integer userId);
}
