|
|
|
@@ -92,7 +92,6 @@ |
|
|
|
<result column="sale_price" jdbcType="INTEGER" property="salePrice" /> |
|
|
|
<result column="use_price" jdbcType="INTEGER" property="usePrice" /> |
|
|
|
<result column="use_limit_quantity" jdbcType="INTEGER" property="useLimitQuantity" /> |
|
|
|
<result column="target_ad" jdbcType="INTEGER" property="targetAd" /> |
|
|
|
<result column="send_type" jdbcType="INTEGER" property="sendType" /> |
|
|
|
<result column="valid_type" jdbcType="INTEGER" property="validType" /> |
|
|
|
<result column="valid_start_date" jdbcType="TIMESTAMP" property="validStartDate" /> |
|
|
|
@@ -114,10 +113,10 @@ |
|
|
|
</resultMap> |
|
|
|
|
|
|
|
<sql id="CouponCarColumns"> |
|
|
|
c.id,c.tenant_id,c.type,c.cover_img,c.title,c.sub_title,c.sale_price,c.use_price,c.use_limit_quantity,c.target_ad,c.send_type,c.valid_type,c.valid_start_date,c.valid_end_date,c.valid_days,c.detail,c.price,c.unit,c.remain_inventory,c.inventory,c.remark,c.status,c.create_date,c.update_date,c.business, |
|
|
|
c.id,c.tenant_id,c.type,c.cover_img,c.title,c.sub_title,c.sale_price,c.use_price,c.use_limit_quantity,c.send_type,c.valid_type,c.valid_start_date,c.valid_end_date,c.valid_days,c.detail,c.price,c.unit,c.remain_inventory,c.inventory,c.remark,c.status,c.create_date,c.update_date,c.business, |
|
|
|
car.vendor_type, car.vendor_params |
|
|
|
</sql> |
|
|
|
<select id="selectCouponCarDetail" parameterType="java.lang.Long" resultMap="CouponCarMap"> |
|
|
|
<select id="findVoDetail" parameterType="java.lang.Long" resultMap="CouponCarMap"> |
|
|
|
select <include refid="CouponCarColumns" /> |
|
|
|
from |
|
|
|
wx_coupon c,wx_coupon_car car |
|
|
|
|