|
|
|
@@ -652,7 +652,7 @@ |
|
|
|
<include refid="allOrderPressListColumns"/> |
|
|
|
from wx_coupon c,wx_order o |
|
|
|
left join wx_coupon_order co on co.order_id = o.id |
|
|
|
where o.product_id = c.id and c.type = 8 |
|
|
|
where o.product_id = c.id and c.type = 8 and o.order_status in (6,7,8,9) |
|
|
|
<if test="cUserId != null"> |
|
|
|
and o.c_user_id = #{cUserId} |
|
|
|
</if> |
|
|
|
|