|
|
@@ -144,7 +144,7 @@ |
|
|
select |
|
|
select |
|
|
<include refid="allColumns"/> |
|
|
<include refid="allColumns"/> |
|
|
from tt_coupon c |
|
|
from tt_coupon c |
|
|
left join wx_merchant m on m.id = c.merchant_id |
|
|
|
|
|
|
|
|
left join wx_merchant m on m.id = c.merchant_id and m.status = 1 |
|
|
<include refid="dynamicWhereConditions"/> |
|
|
<include refid="dynamicWhereConditions"/> |
|
|
</select> |
|
|
</select> |
|
|
|
|
|
|
|
|
|