|
|
|
@@ -892,10 +892,7 @@ |
|
|
|
select co.id,co.tenant_id,co.parent_tenant_id,co.coupon_id,co.coupon_type,co.c_user_id,co.owner_id,co.b_user_id,co.expired_time,co.coupon_order_status,co.order_id, |
|
|
|
co.create_date,co.update_date,co.coupon_price, co.verify_type, co.verify_remark,co.pay_vendor, |
|
|
|
co.`freight_price`,co.`shipping_type`,co.`shipping_address`,co.`shipping_status`,co.`delivery_info`,co.send_merchant_id,co.subsidy |
|
|
|
FROM wx_coupon_order co WHERE 1=1 |
|
|
|
<if test=" null != tenantId and '' != tenantId"> |
|
|
|
and co.`tenant_id` = #{tenantId} |
|
|
|
</if> |
|
|
|
FROM wx_coupon_order co WHERE and co.`tenant_id` = #{tenantId} |
|
|
|
<if test=" null != parentTenantId and '' != parentTenantId"> |
|
|
|
and co.`parent_tenant_id` = #{parentTenantId} |
|
|
|
</if> |
|
|
|
|