|
|
@@ -820,6 +820,7 @@ |
|
|
RIGHT JOIN ( |
|
|
RIGHT JOIN ( |
|
|
SELECT co.id,co.tenant_id,co.parent_tenant_id,co.coupon_id,co.c_user_id,co.b_user_id,co.order_id,co.coupon_type, |
|
|
SELECT co.id,co.tenant_id,co.parent_tenant_id,co.coupon_id,co.c_user_id,co.b_user_id,co.order_id,co.coupon_type, |
|
|
co.expired_time,co.coupon_order_status,co.create_date,co.update_date,co.coupon_price,co.auto_refund,co.verify_type,co.pay_vendor |
|
|
co.expired_time,co.coupon_order_status,co.create_date,co.update_date,co.coupon_price,co.auto_refund,co.verify_type,co.pay_vendor |
|
|
|
|
|
,co.send_merchant_id |
|
|
FROM wx_coupon_order co WHERE 1=1 |
|
|
FROM wx_coupon_order co WHERE 1=1 |
|
|
<if test=" null != tenantId and '' != tenantId"> |
|
|
<if test=" null != tenantId and '' != tenantId"> |
|
|
and co.`tenant_id` = #{tenantId} |
|
|
and co.`tenant_id` = #{tenantId} |
|
|
|