|
|
@ -129,7 +129,7 @@ |
|
|
|
LEFT JOIN logpm_distrilbution_bill_stock lds ON lds.bill_lading_id = aaa.id |
|
|
|
LEFT JOIN logpm_distrilbution_bill_stock lds ON lds.bill_lading_id = aaa.id |
|
|
|
LEFT JOIN logpm_distribution_stock_article dsa ON lds.stock_article_id = dsa.id |
|
|
|
LEFT JOIN logpm_distribution_stock_article dsa ON lds.stock_article_id = dsa.id |
|
|
|
WHERE |
|
|
|
WHERE |
|
|
|
lds.order_status != 2 |
|
|
|
1=1 |
|
|
|
<if test="collect != null and @org.apache.commons.collections4.CollectionUtils@isNotEmpty(collect)"> |
|
|
|
<if test="collect != null and @org.apache.commons.collections4.CollectionUtils@isNotEmpty(collect)"> |
|
|
|
and aaa.warehouse_id in |
|
|
|
and aaa.warehouse_id in |
|
|
|
<foreach collection="collect" item="item" open="(" close=")" separator=","> |
|
|
|
<foreach collection="collect" item="item" open="(" close=")" separator=","> |
|
|
|