|
|
|
@@ -75,7 +75,7 @@ |
|
|
|
left join wx_coupon c on o.product_id=c.id |
|
|
|
left join wx_order_group g on o.order_group_id=g.id |
|
|
|
left join wx_c_user u on o.c_user_id=u.id |
|
|
|
where o.tenant_id=#{tenantId} |
|
|
|
where o.tenant_id=#{tenantId} and c.type=9 |
|
|
|
<if test=" null != cUserId "> |
|
|
|
and o.c_user_id=#{cUserId} |
|
|
|
</if> |
|
|
|
|