|
|
@@ -1355,7 +1355,7 @@ |
|
|
|
|
|
|
|
|
<result column="coupon_channel_id" jdbcType="BIGINT" property="couponChannelId"/> |
|
|
<result column="coupon_channel_id" jdbcType="BIGINT" property="couponChannelId"/> |
|
|
<result column="spu_id" jdbcType="VARCHAR" property="spuId"/> |
|
|
<result column="spu_id" jdbcType="VARCHAR" property="spuId"/> |
|
|
<result column="status" jdbcType="INTEGER" property="status"/> |
|
|
|
|
|
|
|
|
<result column="poi_status" jdbcType="INTEGER" property="poiStatus"/> |
|
|
<result column="status_desc" jdbcType="VARCHAR" property="statusDesc"/> |
|
|
<result column="status_desc" jdbcType="VARCHAR" property="statusDesc"/> |
|
|
<result column="last_status" jdbcType="INTEGER" property="lastStatus"/> |
|
|
<result column="last_status" jdbcType="INTEGER" property="lastStatus"/> |
|
|
<result column="last_status_desc" jdbcType="VARCHAR" property="lastStatusDesc"/> |
|
|
<result column="last_status_desc" jdbcType="VARCHAR" property="lastStatusDesc"/> |
|
|
@@ -1370,7 +1370,7 @@ |
|
|
c.`status`,c.`create_date`,c.`update_date`,c.`business`,c.`sub_business`, |
|
|
c.`status`,c.`create_date`,c.`update_date`,c.`business`,c.`sub_business`, |
|
|
c.`auto_refund`,c.`credit_price`,c.`credit_refund`, |
|
|
c.`auto_refund`,c.`credit_price`,c.`credit_refund`, |
|
|
c.content_type,c.source_type,c.product_type,c.category_id, |
|
|
c.content_type,c.source_type,c.product_type,c.category_id, |
|
|
poi.coupon_channel_id,poi.spu_id,poi.status,poi.status_desc,poi.last_status,poi.last_status_desc |
|
|
|
|
|
|
|
|
poi.coupon_channel_id,poi.spu_id,poi.status poi_status,poi.status_desc,poi.last_status,poi.last_status_desc |
|
|
from wx_coupon c |
|
|
from wx_coupon c |
|
|
left join tt_coupon_channel_poi poi on poi.id = c.id |
|
|
left join tt_coupon_channel_poi poi on poi.id = c.id |
|
|
where c.`type` = #{type} |
|
|
where c.`type` = #{type} |
|
|
@@ -1414,8 +1414,8 @@ |
|
|
and poi.`spu_id` = #{spuId} |
|
|
and poi.`spu_id` = #{spuId} |
|
|
</if> |
|
|
</if> |
|
|
|
|
|
|
|
|
<if test=" null != status"> |
|
|
|
|
|
and poi.`status` = #{status} |
|
|
|
|
|
|
|
|
<if test=" null != poiStatus"> |
|
|
|
|
|
and poi.`status` = #{poiStatus} |
|
|
</if> |
|
|
</if> |
|
|
|
|
|
|
|
|
<if test=" null != lastStatus"> |
|
|
<if test=" null != lastStatus"> |
|
|
|