package com.diagbot.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.diagbot.dto.GetTopPatientInfoDTO;
import com.diagbot.dto.PatientInfoDTO;
import com.diagbot.entity.PatientInfo;
import com.diagbot.vo.GetTopPatientInfoVO;
import org.apache.ibatis.annotations.Param;
import org.springframework.web.bind.annotation.RequestBody;

/**
 * @Description: 患者信息
 * @Author: wangyu
 * @Date: 13:09 2018/11/19
 */
public interface PatientInfoMapper extends BaseMapper<PatientInfo> {
    /**
     * 获取患者信息
     * @param patientCode,hospitalCode
     * @return
     */
    public PatientInfoDTO getPatientInfos(@Param("patientCode") String patientCode, @Param("hospitalCode") String hospitalCode);
    
    /**
     * 顶部病人医生科室信息查询
     * @param getTopPatientInfoVO
     * @return
     */
    GetTopPatientInfoDTO getTopPatientInfo(@RequestBody GetTopPatientInfoVO getTopPatientInfoVO);
}
