35 lines
1.8 KiB
XML
35 lines
1.8 KiB
XML
<?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.cj.jiaqingjiayi.mapper.AppointmentsMapper">
|
|
|
|
<resultMap id="BaseResultMap" type="com.cj.jiaqingjiayi.model.domain.Appointments">
|
|
<id property="id" column="id" jdbcType="BIGINT"/>
|
|
<result property="userId" column="userId" jdbcType="BIGINT"/>
|
|
<result property="userName" column="userName" jdbcType="VARCHAR"/>
|
|
<result property="phone" column="phone" jdbcType="VARCHAR"/>
|
|
<result property="businessId" column="businessId" jdbcType="BIGINT"/>
|
|
<result property="manicuristId" column="manicuristId" jdbcType="BIGINT"/>
|
|
<result property="appointmentTime" column="appointmentTime" jdbcType="TIMESTAMP"/>
|
|
<result property="serviceMode" column="serviceMode" jdbcType="TINYINT"/>
|
|
<result property="notes" column="notes" jdbcType="VARCHAR"/>
|
|
<result property="status" column="status" jdbcType="TINYINT"/>
|
|
<result property="orderId" column="orderId" jdbcType="BIGINT"/>
|
|
<result property="createTime" column="createTime" jdbcType="TIMESTAMP"/>
|
|
<result property="updateTime" column="updateTime" jdbcType="TIMESTAMP"/>
|
|
<result property="isDelete" column="isDelete" jdbcType="TINYINT"/>
|
|
<result property="businessName" column="businessName" jdbcType="VARCHAR"/>
|
|
<result property="manicuristName" column="manicuristName" jdbcType="VARCHAR"/>
|
|
</resultMap>
|
|
|
|
<sql id="Base_Column_List">
|
|
id,userId,userName,
|
|
phone,businessId,manicuristId,
|
|
appointmentTime,serviceMode,
|
|
notes,status,createTime,
|
|
updateTime,isDelete,businessName,
|
|
manicuristName,orderId
|
|
</sql>
|
|
</mapper>
|