<?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="cn.sh.stc.sict.theme.schema.dao.HphyGuideMatchMapper"> <!-- 可根据自己的需求,是否要使用 --> <resultMap type="cn.sh.stc.sict.theme.schema.model.HphyGuideMatch" id="hphyGuideMatchMap"> <result property="id" column="id"/> <result property="patientId" column="patient_id"/> <result property="patientName" column="patient_name"/> <result property="guideId" column="guide_id"/> <result property="hospId" column="hosp_id"/> <result property="hospName" column="hosp_name"/> <result property="deptId" column="dept_id"/> <result property="deptName" column="dept_name"/> <result property="doctorId" column="doctor_id"/> <result property="doctorName" column="doctor_name"/> <result property="matchScore" column="match_score"/> <result property="createTime" column="create_time"/> </resultMap> <sql id="Base_Column_List"> id,patient_id,patient_name,guide_id,hosp_id,hosp_name,dept_id,dept_name,doctor_id,doctor_name,match_score,create_time </sql> </mapper>