You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
|
<?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.AskPatientAnswerMapper">
|
|
|
|
|
|
|
|
<resultMap id="BaseResultMap" type="com.supervision.model.AskPatientAnswer">
|
|
|
|
<id property="id" column="id" jdbcType="VARCHAR"/>
|
|
|
|
<result property="patientId" column="patient_id" jdbcType="VARCHAR"/>
|
|
|
|
<result property="medicalId" column="medical_id" jdbcType="VARCHAR"/>
|
|
|
|
<result property="libraryQuestionId" column="library_question_id" jdbcType="VARCHAR"/>
|
|
|
|
<result property="answer" column="answer" jdbcType="ARRAY"
|
|
|
|
typeHandler="com.supervision.handler.StringListTypeHandler"/>
|
|
|
|
<result property="requireCheck" column="require_check" jdbcType="INTEGER"/>
|
|
|
|
<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,patient_id,medical_id,library_question_id,
|
|
|
|
answer,require_check,create_user_id,
|
|
|
|
create_time,update_user_id,update_time
|
|
|
|
</sql>
|
|
|
|
</mapper>
|