|
|
|
@@ -98,6 +98,10 @@ |
|
|
|
<if test=" null != userCredit "> |
|
|
|
and c.`credit_price` <= #{userCredit} |
|
|
|
</if> |
|
|
|
|
|
|
|
<if test=" null != sourceType "> |
|
|
|
and `source_type` = #{sourceType} |
|
|
|
</if> |
|
|
|
|
|
|
|
|
|
|
|
<if test=" null != ids "> |
|
|
|
@@ -148,7 +152,7 @@ |
|
|
|
<include refid="allColumns" />, |
|
|
|
c.remain_inventory,c.inventory,c.cover_img,c.title,c.sub_title,c.sale_price, |
|
|
|
c.use_price,c.price,c.unit,c.use_limit_quantity,c.send_type,c.support_transfer,c.press_limit_num,c.auto_refund,c.conditions, |
|
|
|
c.valid_type,c.valid_start_date,c.valid_end_date,c.valid_days,c.credit_price,c.content_type |
|
|
|
c.valid_type,c.valid_start_date,c.valid_end_date,c.valid_days,c.credit_price,c.content_type,c.source_type |
|
|
|
</sql> |
|
|
|
|
|
|
|
<resultMap id="CouponChannelVoMap" type="com.iformall.domain.vo.WxCouponChannelVo"> |
|
|
|
@@ -187,6 +191,7 @@ |
|
|
|
<result column="qr_code" property="qrCode"/> |
|
|
|
<result column="conditions" jdbcType="VARCHAR" property="conditions" /> |
|
|
|
<result column="content_type" jdbcType="INTEGER" property="contentType"/> |
|
|
|
<result column="source_type" jdbcType="INTEGER" property="sourceType"/> |
|
|
|
|
|
|
|
|
|
|
|
<collection column="{productId=coupon_id}" property="merchantVoList" |
|
|
|
|