package org.dromara.zjk.mapper;

import org.apache.ibatis.annotations.Param;
import org.dromara.common.mybatis.core.mapper.BaseMapperPlus;
import org.dromara.zjk.domain.ZjkExpertMajor;
import org.dromara.zjk.domain.vo.ZjkExpertMajorVo;

import java.util.Collection;
import java.util.List;
import java.util.Map;

/**
 * 专家库 专业关系表Mapper接口
 *
 * @author ygh
 * @date 2024-11-01
 */
public interface ZjkExpertMajorMapper extends BaseMapperPlus<ZjkExpertMajor, ZjkExpertMajorVo> {


    /**
     *  获取各个学历的专家人数
     */
    List<Map<Integer,Integer>> getExpertMajorCount();

    List<ZjkExpertMajor> selectMajorList(@Param("expertIds") Collection<Long> expertIdList);
}
