package com.diagbot.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.diagbot.dto.ConceptDTO;
import com.diagbot.dto.LibraryInfoDTO;
import com.diagbot.entity.Concept;
import com.diagbot.vo.TermVo;

import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author Weixuan Huang
 * @since 2019-01-30
 */
public interface ConceptMapper extends BaseMapper<Concept> {
    /**
     * 获取术语概念信息
     * @param termVo
     * @return ConceptDTO
     */
    public ConceptDTO getConcept(TermVo termVo);


    /**
     * 获取所有没有实体关联的概念
     *
     * @result ConceptDTO
     *
     */
    public List<ConceptDTO> getLimboItems();
}
