<?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.huaheng.pc.receipt.reservation.mapper.ReservationMapper"> <resultMap id="BaseResultMap" type="com.huaheng.pc.receipt.reservation.domain.Reservation"> <!--@mbg.generated--> <!--@Table reservation--> <id column="id" jdbcType="INTEGER" property="id" /> <result column="code" jdbcType="VARCHAR" property="code" /> <result column="name" jdbcType="VARCHAR" property="name" /> <result column="phone" jdbcType="VARCHAR" property="phone" /> <result column="carPlate" jdbcType="VARCHAR" property="carPlate" /> <result column="status" jdbcType="VARCHAR" property="status" /> <result column="stationCode" jdbcType="VARCHAR" property="stationCode" /> <result column="appointment" jdbcType="TIMESTAMP" property="appointment" /> </resultMap> <sql id="Base_Column_List"> <!--@mbg.generated--> id, code, `name`, phone, carPlate, `status`, stationCode, appointment </sql> </mapper>