package com.diagbot.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.diagbot.dto.LibraryDTO;
import com.diagbot.dto.TermDTO;
import com.diagbot.entity.Library;
import com.diagbot.vo.TermVo;

/**
 * @Description 获取术语信息
 * @author Weixuan Huang
 * @since 2019-01-14
 */
public interface LibraryMapper extends BaseMapper<Library> {
    /**
     * 获取术语信息
     * @param termVo
     * @return TermDTO
     */
    public TermDTO getTermInfo(TermVo termVo);

    /**
     * 获取术语词库信息
     * @param termVo
     * @return LibraryDTO
     */
    public LibraryDTO getLibrary(TermVo termVo);
}
