|
|
|
@@ -1621,9 +1621,9 @@ |
|
|
|
where c.`version` = 1 and coupon_id = #{couponId} and tenant_id = #{tenantId} |
|
|
|
</select> |
|
|
|
|
|
|
|
<select id="findDraftStatus" parameterType="com.iformall.domain.vo.TtCouponVo" resultMap="TtCouponVoResultMap"> |
|
|
|
<select id="findDraftStatus" parameterType="java.util.HashMap" resultMap="TtCouponVoResultMap"> |
|
|
|
select c.`id`,c.`coupon_id`,c.`version`,c.`tenant_id`,c.`parent_tenant_id`, |
|
|
|
,poi.status poi_status,poi.status_desc |
|
|
|
poi.status poi_status,poi.status_desc |
|
|
|
from wx_coupon c |
|
|
|
left join tt_coupon_channel_poi poi on poi.id = c.id |
|
|
|
where c.`version` = 1 and tenant_id = #{tenantId} |
|
|
|
|