|
|
|
@@ -78,7 +78,7 @@ |
|
|
|
left join wx_coupon_channel cc on c.id=cc.coupon_id |
|
|
|
where o.tenant_id=#{tenantId} |
|
|
|
<if test=" null != cUserId "> |
|
|
|
and o.c_user_id=#{cUserId} |
|
|
|
and o.c_user_id=#{cUserId} and o.order_status not in(0,1,2,3) |
|
|
|
</if> |
|
|
|
<if test=" null != id "> |
|
|
|
and o.id=#{id} |
|
|
|
|