33 lines
1.7 KiB
XML
33 lines
1.7 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.OrdersMapper">
|
|
|
|
<resultMap id="BaseResultMap" type="com.cj.jiaqingjiayi.model.domain.Orders">
|
|
<id property="id" column="id" jdbcType="BIGINT"/>
|
|
<result property="orderNumber" column="orderNumber" jdbcType="VARCHAR"/>
|
|
<result property="userId" column="userId" jdbcType="BIGINT"/>
|
|
<result property="businessId" column="businessId" jdbcType="BIGINT"/>
|
|
<result property="userName" column="userName" jdbcType="VARCHAR"/>
|
|
<result property="phone" column="phone" jdbcType="VARCHAR"/>
|
|
<result property="payMethod" column="payMethod" jdbcType="TINYINT"/>
|
|
<result property="appointmentId" column="appointmentId" jdbcType="BIGINT"/>
|
|
<result property="totalPrice" column="totalPrice" jdbcType="DECIMAL"/>
|
|
<result property="paymentStatus" column="paymentStatus" jdbcType="TINYINT"/>
|
|
<result property="claimStatus" column="claimStatus" jdbcType="TINYINT"/>
|
|
<result property="notes" column="notes" jdbcType="VARCHAR"/>
|
|
<result property="createTime" column="createTime" jdbcType="TIMESTAMP"/>
|
|
<result property="updateTime" column="updateTime" jdbcType="TIMESTAMP"/>
|
|
<result property="isDelete" column="isDelete" jdbcType="TINYINT"/>
|
|
</resultMap>
|
|
|
|
<sql id="Base_Column_List">
|
|
id,orderNumber,userId,
|
|
businessId,userName,phone,
|
|
appointmentId,totalPrice,paymentStatus,
|
|
claimStatus,notes,createTime,
|
|
updateTime,isDelete,payMethod
|
|
</sql>
|
|
</mapper>
|