|
|
|
<?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.supervision.mapper.DiseaseMapper">
|
|
|
|
|
|
|
|
<resultMap id="BaseResultMap" type="com.supervision.model.Disease">
|
|
|
|
<id property="id" column="id" jdbcType="VARCHAR"/>
|
|
|
|
<result property="code" column="code" jdbcType="VARCHAR"/>
|
|
|
|
<result property="status" column="status" jdbcType="INTEGER"/>
|
|
|
|
<result property="expectedDiagnosisResult" column="expected_diagnosis_result" jdbcType="VARCHAR"/>
|
|
|
|
<result property="preliminaryDiagnosis" column="preliminary_diagnosis" jdbcType="VARCHAR"/>
|
|
|
|
<result property="confirmingDiagnosis" column="confirming_diagnosis" jdbcType="VARCHAR"/>
|
|
|
|
<result property="basisIdentification" column="basis_identification" jdbcType="VARCHAR"/>
|
|
|
|
<result property="diseaseTreatmentPlan" column="disease_treatment_plan" jdbcType="VARCHAR"/>
|
|
|
|
<result property="other" column="other" jdbcType="VARCHAR"/>
|
|
|
|
<result property="createUserId" column="create_user_id" jdbcType="VARCHAR"/>
|
|
|
|
<result property="createTime" column="create_time" jdbcType="TIMESTAMP"/>
|
|
|
|
<result property="updateUserId" column="update_user_id" jdbcType="VARCHAR"/>
|
|
|
|
<result property="updateTime" column="update_time" jdbcType="TIMESTAMP"/>
|
|
|
|
</resultMap>
|
|
|
|
|
|
|
|
<sql id="Base_Column_List">
|
|
|
|
id
|
|
|
|
,code,status,
|
|
|
|
expected_diagnosis_result,preliminary_diagnosis,confirming_diagnosis,
|
|
|
|
basis_identification,disease_treatment_plan,other,create_user_id,
|
|
|
|
create_time,update_user_id,update_time
|
|
|
|
</sql>
|
|
|
|
</mapper>
|