<?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.docus.server.infrastructure.mapper.OcrBasicMapper">

    <!-- 通用查询映射结果 -->
    <resultMap id="BaseResultMap"
               type="com.docus.server.entity.segmentation.OcrBasic">
                    <id column="id" property="id"/>
                    <result column="patient_id" property="patientId"/>
                    <result column="inpatient_no" property="inpatientNo"/>
                    <result column="name" property="name"/>
                    <result column="admiss_date" property="admissDate"/>
                    <result column="admiss_dept" property="admissDept"/>
                    <result column="admiss_dept_name" property="admissDeptName"/>
                    <result column="dis_date" property="disDate"/>
                    <result column="dis_dept" property="disDept"/>
                    <result column="dis_dept_name" property="disDeptName"/>
                    <result column="ocr_statue" property="ocrStatue"/>
                    <result column="ocr_finish_time" property="ocrFinishTime"/>
                    <result column="create_time" property="createTime"/>
                    <result column="update_time" property="updateTime"/>
        </resultMap>

            <!-- 通用查询结果列 -->
            <sql id="Base_Column_List">
                id, patient_id, inpatient_no, name, admiss_date, admiss_dept, admiss_dept_name, dis_date, dis_dept, dis_dept_name, ocr_statue, ocr_finish_time, create_time, update_time
            </sql>

</mapper>
