<!-- AND o.`is_external_warehouse` = #{query.isExternalWarehouse}-->
<!-- </if>-->
<iftest="query.isExternalWarehouse != null and query.isExternalWarehouse.size()>0">
<iftest="query.isExternalWarehouse != null and query.isExternalWarehouse != '' and query.isExternalWarehouse.size()==1 ">
...
...
@@ -1055,9 +1050,7 @@
<iftest="query.salesmanId != null ">
AND (o.`salesman_id` = #{query.salesmanId} or o.`customer_id` in(select cus.id from ecw_customer cus where cus.is_customer_service_confirmed = 1 and cus.customer_service = #{query.salesmanId} ))
</if>
<!-- <if test="query.customsType != null">-->
<!-- AND o.`customs_type` = #{query.customsType}-->
<!-- </if>-->
<iftest="query.customsType != null and query.customsType.size()>0">
...
...
@@ -1076,9 +1069,7 @@
</if>
</if>
<!-- <if test="query.productRecord != null">-->
<!-- AND o.`product_record` = #{query.productRecord}-->
<!-- </if>-->
<iftest="query.productRecord != null and query.productRecord.size()>0">
...
...
@@ -1369,38 +1360,38 @@
or pb.`title_zh` = #{query.notEqProdKey} or pb.`title_en` = #{query.notEqProdKey})
))
</if>
<iftest="query.startWarehouseId != null and query.destWarehouseId !=null and query.destWarehouseId.size() !=0 ">
<iftest="query.startWarehouseId !=null and query.destWarehouseId !=null ">