|
|
@ -1202,7 +1202,8 @@ |
|
|
|
LEFT JOIN logpm_distribution_reservation_package AS ldrp ON ldrp.stock_article_id = ldrs.stock_article_id AND ldrp.reservation_id = ldr.id |
|
|
|
LEFT JOIN logpm_distribution_reservation_package AS ldrp ON ldrp.stock_article_id = ldrs.stock_article_id AND ldrp.reservation_id = ldr.id |
|
|
|
LEFT JOIN logpm_distribution_parcel_list AS ldpl ON ldrp.parce_list_id = ldpl.id |
|
|
|
LEFT JOIN logpm_distribution_parcel_list AS ldpl ON ldrp.parce_list_id = ldpl.id |
|
|
|
WHERE |
|
|
|
WHERE |
|
|
|
lds.id IN |
|
|
|
ldrs.reservation_num is not null |
|
|
|
|
|
|
|
and lds.id IN |
|
|
|
<foreach collection="ids" item="id" open="(" close=")" separator=","> |
|
|
|
<foreach collection="ids" item="id" open="(" close=")" separator=","> |
|
|
|
#{id} |
|
|
|
#{id} |
|
|
|
</foreach> |
|
|
|
</foreach> |
|
|
@ -1229,7 +1230,8 @@ |
|
|
|
LEFT JOIN logpm_distribution_reservation_stocklist AS ldrs ON ldr.id=ldrs.reservation_id |
|
|
|
LEFT JOIN logpm_distribution_reservation_stocklist AS ldrs ON ldr.id=ldrs.reservation_id |
|
|
|
LEFT JOIN logpm_distribution_stock_list AS ldsl ON ldsl.id=ldrs.stocklist_id |
|
|
|
LEFT JOIN logpm_distribution_stock_list AS ldsl ON ldsl.id=ldrs.stocklist_id |
|
|
|
WHERE |
|
|
|
WHERE |
|
|
|
lds.id IN |
|
|
|
ldrs.reservation_num is not null |
|
|
|
|
|
|
|
and lds.id IN |
|
|
|
<foreach collection="ids" item="id" open="(" close=")" separator=","> |
|
|
|
<foreach collection="ids" item="id" open="(" close=")" separator=","> |
|
|
|
#{id} |
|
|
|
#{id} |
|
|
|
</foreach> |
|
|
|
</foreach> |
|
|
|