Commit d2c62bfd authored by zhengyi's avatar zhengyi

商品类型查询bug修复

parent 4ca19822
...@@ -459,7 +459,7 @@ ...@@ -459,7 +459,7 @@
</if> </if>
</if> </if>
<if test="query.goodsTypes != null and query.goodsTypes.size()>0"> <if test="query.goodsTypes != null and query.goodsTypes.size()>0">
AND o.order_id not in( AND o.order_id in(
select oi.order_id select oi.order_id
from ecw_order_item oi from ecw_order_item oi
where oi.deleted = 0 and oi.`prod_type` in where oi.deleted = 0 and oi.`prod_type` in
...@@ -727,7 +727,7 @@ ...@@ -727,7 +727,7 @@
</if> </if>
</if> </if>
<if test="query.goodsTypes != null and query.goodsTypes.size()>0"> <if test="query.goodsTypes != null and query.goodsTypes.size()>0">
AND o.order_id not in( AND o.order_id in(
select oi.order_id select oi.order_id
from ecw_order_item oi from ecw_order_item oi
where oi.deleted = 0 and oi.`prod_type` in where oi.deleted = 0 and oi.`prod_type` in
...@@ -1790,7 +1790,7 @@ ...@@ -1790,7 +1790,7 @@
</if> </if>
</if> </if>
<if test="query.goodsTypes != null and query.goodsTypes.size()>0"> <if test="query.goodsTypes != null and query.goodsTypes.size()>0">
AND o.order_id not in( AND o.order_id in(
select oi.order_id select oi.order_id
from ecw_order_item oi from ecw_order_item oi
where oi.deleted = 0 and oi.`prod_type` in where oi.deleted = 0 and oi.`prod_type` in
...@@ -2591,7 +2591,7 @@ ...@@ -2591,7 +2591,7 @@
</if> </if>
</if> </if>
<if test="query.goodsTypes != null and query.goodsTypes.size()>0"> <if test="query.goodsTypes != null and query.goodsTypes.size()>0">
AND o.order_id not in( AND o.order_id in(
select oi.order_id select oi.order_id
from ecw_order_item oi from ecw_order_item oi
where oi.deleted = 0 and oi.`prod_type` in where oi.deleted = 0 and oi.`prod_type` in
...@@ -3337,7 +3337,7 @@ ...@@ -3337,7 +3337,7 @@
</if> </if>
</if> </if>
<if test="query.goodsTypes != null and query.goodsTypes.size()>0"> <if test="query.goodsTypes != null and query.goodsTypes.size()>0">
AND o.order_id not in( AND o.order_id in(
select oi.order_id select oi.order_id
from ecw_order_item oi from ecw_order_item oi
where oi.deleted = 0 and oi.`prod_type` in where oi.deleted = 0 and oi.`prod_type` in
...@@ -4602,7 +4602,7 @@ ...@@ -4602,7 +4602,7 @@
</if> </if>
</if> </if>
<if test="query.goodsTypes != null and query.goodsTypes.size()>0"> <if test="query.goodsTypes != null and query.goodsTypes.size()>0">
AND o.order_id not in( AND o.order_id in(
select oi.order_id select oi.order_id
from ecw_order_item oi from ecw_order_item oi
where oi.deleted = 0 and oi.`prod_type` in where oi.deleted = 0 and oi.`prod_type` in
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment