|
|
@@ -2,16 +2,19 @@
|
|
|
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
|
|
|
<mapper namespace="com.ylx.massage.mapper.CouponReceiveMapper">
|
|
|
|
|
|
- <resultMap type="com.ylx.massage.domain.vo.CouponReceiveVo" id="CouponReceiveVoMap">
|
|
|
+ <resultMap id="CouponReceiveVoMap" type="com.ylx.massage.domain.vo.CouponReceiveVo">
|
|
|
<result property="id" column="id" jdbcType="VARCHAR"/>
|
|
|
<result property="openid" column="receive_open_id" jdbcType="VARCHAR"/>
|
|
|
<result property="couponId" column="coupon_id" jdbcType="VARCHAR"/>
|
|
|
- <result property="expirationTime" column="expiration_time" jdbcType="TIMESTAMP"/>
|
|
|
- <result property="createTime" column="create_time" jdbcType="TIMESTAMP"/>
|
|
|
- <result property="updateTime" column="update_time" jdbcType="TIMESTAMP"/>
|
|
|
- <result property="isDelete" column="is_delete" jdbcType="INTEGER"/>
|
|
|
<result property="couponName" column="coupon_name" jdbcType="VARCHAR"/>
|
|
|
<result property="couponType" column="coupon_type" jdbcType="INTEGER"/>
|
|
|
+ <result property="useType" column="use_type" jdbcType="VARCHAR"/>
|
|
|
+ <result property="validStartTime" column="valid_start_time" jdbcType="TIMESTAMP"/>
|
|
|
+ <result property="expirationTime" column="expiration_time" jdbcType="TIMESTAMP"/>
|
|
|
+ <result property="ruleMinSpendAmount" column="rule_min_spend_amount" jdbcType="DECIMAL"/>
|
|
|
+ <result property="ruleDiscountRate" column="rule_discount_rate" jdbcType="DECIMAL"/>
|
|
|
+ <result property="ruleDiscountCapAmount" column="rule_discount_cap_amount" jdbcType="DECIMAL"/>
|
|
|
+ <result property="ruleReductionAmount" column="rule_reduction_amount" jdbcType="DECIMAL"/>
|
|
|
</resultMap>
|
|
|
|
|
|
<sql id="selectCouponReceiveVo">
|