package thyyxxk.webserver.dao.his.api;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;
import thyyxxk.webserver.api.medicallaboratory.MedicalLaboratoryState;

@Mapper
public interface MedicalLaboratoryDao extends BaseMapper<MedicalLaboratoryState> {

    @Select("select rtrim(mz_no) from a_patient_mi where inpatient_no=#{patNo} ")
    String getPatientIdByInpatientNo(String patNo);
}
