|
|
|
@@ -149,7 +149,7 @@ |
|
|
|
select count(*) from wx_order o,wx_coupon c |
|
|
|
where o.product_id = c.id |
|
|
|
and c.conditions is not null |
|
|
|
and JSON_EXTRACT(c.conditions, '$.type') = 1 |
|
|
|
/*and JSON_EXTRACT(c.conditions, '$.type') = 1*/ |
|
|
|
<if test=" null != cUserId "> |
|
|
|
and o.c_user_id = #{cUserId} |
|
|
|
</if> |
|
|
|
|