package com.diagbot.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.diagbot.dto.SymptomSearchDTO;
import com.diagbot.entity.Symptom;
import com.diagbot.entity.SymptomWrapper;

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

/**
 * <p>
 * 服务类
 * </p>
 *
 * @author gaodm
 * @since 2018-08-02
 */
public interface SymptomService extends IService<Symptom> {


    /**
     * 根据部位ids获取症状信息
     * @param map
     * @return
     */
    public List<SymptomWrapper> getByPartIds(Map map);


    /**
     * 获取常用症状
     * @return
     */
    public List<Symptom> getUsual(Map map);


    /**
     * 检索
     * @param map
     * @return 症状检索的信息
     */
    public List<SymptomSearchDTO> search(Map map);

}
