|
|
@@ -669,7 +669,7 @@ |
|
|
inner join wx_coupon c on co.coupon_id = c.id |
|
|
inner join wx_coupon c on co.coupon_id = c.id |
|
|
inner join wx_card_info a on co.id=a.id |
|
|
inner join wx_card_info a on co.id=a.id |
|
|
where 1=1 |
|
|
where 1=1 |
|
|
and co.coupon_type in (100,101) |
|
|
|
|
|
|
|
|
and co.coupon_type = 100 |
|
|
<if test="tenantId != null"> |
|
|
<if test="tenantId != null"> |
|
|
and co.tenant_id = #{tenantId} |
|
|
and co.tenant_id = #{tenantId} |
|
|
</if> |
|
|
</if> |
|
|
|