|
|
@@ -336,7 +336,7 @@ |
|
|
and tcm.status = 0) as mc |
|
|
and tcm.status = 0) as mc |
|
|
from wx_coupon_order tco) com |
|
|
from wx_coupon_order tco) com |
|
|
where com.tcoid = co.id |
|
|
where com.tcoid = co.id |
|
|
and co.coupon_type < 7 |
|
|
|
|
|
|
|
|
and co.coupon_type < 100 |
|
|
and c.id = co.coupon_id |
|
|
and c.id = co.coupon_id |
|
|
<if test=" null != tenantId "> |
|
|
<if test=" null != tenantId "> |
|
|
and co.tenant_id = #{tenantId} |
|
|
and co.tenant_id = #{tenantId} |
|
|
|