LymsIllnessMapper.java 734 Bytes
  1
  2
  3
  4
  5
  6
  7
  8
  9
 10
 11
 12
 13
 14
 15
 16
 17
 18
 19
 20
 21
 22
 23
 24
 25
 26
package com.lyms.talkonlineweb.mapper;

import com.lyms.talkonlineweb.domain.LymsIllness;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.lyms.talkonlineweb.domain.PregnantResult;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
* @Entity com.lyms.talkonlineweb.domain.LymsIllness
*/
public interface LymsIllnessMapper extends BaseMapper<LymsIllness> {

/**
* 查询患者在该医院是否有过诊断的病例信息
* @param pid
* @param illCode
* @param hid
* @return
*/
Integer queryPatientHasIllnessCode(@Param("pid") Integer pid, @Param("illCode") Integer illCode,@Param("hid") Integer hid);

List<PregnantResult> queryMayPregnant();

}