|
|
|
@@ -545,6 +545,7 @@ |
|
|
|
where 1=1 |
|
|
|
and co.coupon_id = c.id |
|
|
|
and co.coupon_type != 5 |
|
|
|
and co.coupon_type != 51 |
|
|
|
and co.coupon_type < 100 |
|
|
|
<if test="cUserId != null"> |
|
|
|
and co.c_user_id = #{cUserId} |
|
|
|
@@ -619,7 +620,7 @@ |
|
|
|
from wx_coupon_order co, wx_coupon c, wx_coupon_car car |
|
|
|
where co.coupon_id = c.id |
|
|
|
and co.coupon_id = car.id |
|
|
|
and c.type = 5 |
|
|
|
and c.type in (5,51) |
|
|
|
<if test="cUserId != null"> |
|
|
|
and co.c_user_id = #{cUserId} |
|
|
|
</if> |
|
|
|
|