|
|
@@ -470,7 +470,7 @@ |
|
|
where o.coupon_order_status=1 |
|
|
where o.coupon_order_status=1 |
|
|
and o.tenant_id=#{tenantId} |
|
|
and o.tenant_id=#{tenantId} |
|
|
<if test=" null != id "> |
|
|
<if test=" null != id "> |
|
|
o.b_user_id in( |
|
|
|
|
|
|
|
|
and o.b_user_id in( |
|
|
select id from wx_merchant_b_user where merchant_id=#{id} |
|
|
select id from wx_merchant_b_user where merchant_id=#{id} |
|
|
) |
|
|
) |
|
|
</if> |
|
|
</if> |
|
|
|