1234567891011121314151617181920212223242526 |
- <?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.zt.mapper.OrderInfoMapper">
- <resultMap id="BaseResultMap" type="com.zt.pojo.OrderInfo">
- <id property="id" column="id" jdbcType="BIGINT"/>
- <result property="userId" column="user_id" jdbcType="BIGINT"/>
- <result property="totalPrice" column="total_price" jdbcType="DECIMAL"/>
- <result property="realPrice" column="real_price" jdbcType="DECIMAL"/>
- <result property="preferentialPrice" column="preferential_price" jdbcType="DECIMAL"/>
- <result property="orderState" column="order_state" jdbcType="INTEGER"/>
- <result property="paymentState" column="payment_state" jdbcType="INTEGER"/>
- <result property="orderTime" column="order_time" jdbcType="TIMESTAMP"/>
- <result property="paymentTime" column="payment_time" jdbcType="TIMESTAMP"/>
- <result property="couponId" column="coupon_id" jdbcType="BIGINT"/>
- </resultMap>
- <sql id="Base_Column_List">
- id,user_id,total_price,
- real_price,preferential_price,order_state,
- payment_state,order_time,payment_time,
- coupon_id
- </sql>
- </mapper>
|