package com.yiboshi.science.service;

import com.yiboshi.science.base.BaseService;
import com.yiboshi.science.entity.ComExpertSpec;
import com.yiboshi.science.entity.SelectListItem;
import com.yiboshi.science.param.dto.ComExpertSpecDTO;
import com.yiboshi.science.param.query.ComExpertSpecQueryVO;

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


public interface ComExpertSpecService extends BaseService<ComExpertSpecQueryVO, ComExpertSpecDTO, ComExpertSpec>{
    /** 根据专家Id 获取专业列表
     *
     * @param expertId
     */
    List<String> getIdListByExpertId(String expertId);
    /** 根据专家Id 获取专业列表
     *
     * @param expertId
     */
    List<ComExpertSpecDTO> getListByExpertId(String expertId);

    /** 插入列表
     *
     * @param list
     * @param expertId
     */
    void insertSpecList(List<ComExpertSpecDTO> list, String expertId);
    /**
     * 根据参数获取参数列表
     *
     * @param specId
     * @return
     */
    List<SelectListItem> getExpertListBySpecId(Map<String, Object> specId);
    /** 根据 项目Id 获取专家列表
     *
     * @param SpecList
     * @param ProjList
     */
    List<SelectListItem> getExpertListBySpecIdProjId(List<String> SpecList, List<String> ProjList);
    /** 根据 项目Id 获取专家列表
     *
     * @param SpecList
     */
    List<SelectListItem> getExpertListByExpertSpecIds(List<String> SpecList, List<String> ParentList, String personName);
}
