|
|
|
@ -2450,7 +2450,7 @@
|
|
|
|
|
logpm_distribution_reservation_stockarticle AS ldrs |
|
|
|
|
LEFT JOIN logpm_distribution_stock_article AS ldsa ON ldrs.stock_article_id = ldsa.id |
|
|
|
|
WHERE |
|
|
|
|
ldrs.reservation_id IN ( SELECT reservation_id FROM logpm_distribution_signfor WHERE is_deleted = 0 AND delivery_id = 1829044311027896321 ) |
|
|
|
|
ldrs.reservation_id IN ( SELECT reservation_id FROM logpm_distribution_signfor WHERE is_deleted = 0 AND delivery_id = #{param.id} ) |
|
|
|
|
AND ldrs.stock_article_status != 2 |
|
|
|
|
AND ldrs.is_deleted = 0 |
|
|
|
|
AND ldrs.is_zero = #{isZero} |
|
|
|
|