<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper namespace="com.lantone.report.mapper.BehospitalInfoMapper2">

    <!-- 通用查询映射结果 -->
    <resultMap id="BaseResultMap" type="com.lantone.report.entity.BehospitalInfo">
        <id column="behospital_code" property="behospitalCode"/>
        <result column="hospital_id" property="hospitalId"/>
        <result column="name" property="name"/>
        <result column="sex" property="sex"/>
        <result column="birthday" property="birthday"/>
        <result column="file_code" property="fileCode"/>
        <result column="qc_type_id" property="qcTypeId"/>
        <result column="ward_code" property="wardCode"/>
        <result column="ward_name" property="wardName"/>
        <result column="beh_dept_id" property="behDeptId"/>
        <result column="beh_dept_name" property="behDeptName"/>
        <result column="bed_code" property="bedCode"/>
        <result column="bed_name" property="bedName"/>
        <result column="insurance_name" property="insuranceName"/>
        <result column="job_type" property="jobType"/>
        <result column="behospital_date" property="behospitalDate"/>
        <result column="leave_hospital_date" property="leaveHospitalDate"/>
        <result column="trans_in_time" property="transInTime"/>
        <result column="trans_out_time" property="transOutTime"/>
        <result column="diagnose_icd" property="diagnoseIcd"/>
        <result column="diagnose" property="diagnose"/>
        <result column="doctor_id" property="doctorId"/>
        <result column="doctor_name" property="doctorName"/>
        <result column="beh_doctor_id" property="behDoctorId"/>
        <result column="beh_doctor_name" property="behDoctorName"/>
        <result column="director_doctor_id" property="directorDoctorId"/>
        <result column="director_doctor_name" property="directorDoctorName"/>
        <result column="is_placefile" property="isPlacefile"/>
        <result column="placefile_date" property="placefileDate"/>
        <result column="in_state" property="inState"/>
        <result column="is_deleted" property="isDeleted"/>
        <result column="gmt_create" property="gmtCreate"/>
        <result column="gmt_modified" property="gmtModified"/>
        <result column="creator" property="creator"/>
        <result column="modifier" property="modifier"/>
    </resultMap>

</mapper>