|
|
|
@ -776,12 +776,13 @@
|
|
|
|
|
ldpl.material_name materialName, |
|
|
|
|
ldpl.order_package_status orderPackageStatus, |
|
|
|
|
lwug.position_code goodsAllocation, |
|
|
|
|
lwtg.tray_code pallet |
|
|
|
|
lwt.pallet_name pallet |
|
|
|
|
FROM |
|
|
|
|
logpm_distribution_parcel_list ldpl |
|
|
|
|
JOIN logpm_distribution_stock_article ldsa ON ldpl.stock_article_id = ldsa.id |
|
|
|
|
LEFT JOIN logpm_warehouse_updown_goods lwug ON lwug.association_id = ldpl.id |
|
|
|
|
left join logpm_warehouse_tray_goods lwtg on lwtg.association_id = ldpl.id |
|
|
|
|
left join logpm_warehouse_tray lwt on lwtg.tray_id = lwt.id |
|
|
|
|
<where> |
|
|
|
|
ldsa.is_deleted = 0 |
|
|
|
|
AND ldpl.conditions =1 |
|
|
|
@ -831,7 +832,7 @@
|
|
|
|
|
ldpl.material_name AS descriptionGoods, |
|
|
|
|
ldpl.order_package_status AS orderPackageStatus, |
|
|
|
|
ldpl.conditions, |
|
|
|
|
lwtg.tray_code AS trayCode, |
|
|
|
|
lwtg.pallet_name AS trayCode, |
|
|
|
|
lwug.position_code AS positionCode , |
|
|
|
|
ldsa.mall_name as marketName |
|
|
|
|
from |
|
|
|
@ -840,6 +841,7 @@
|
|
|
|
|
LEFT JOIN logpm_warehouse_updown_goods lwug ON ldpl.id = lwug.association_id |
|
|
|
|
|
|
|
|
|
LEFT JOIN logpm_warehouse_tray_goods lwtg ON lwtg.association_id = ldpl.id |
|
|
|
|
LEFT JOIN logpm_warehouse_tray lwt ON lwtg.tray_id = lwt.id |
|
|
|
|
<where> |
|
|
|
|
ldpl.stock_article_id = #{id} and ldpl.conditions =2 |
|
|
|
|
<if test="collect != null and @org.apache.commons.collections4.CollectionUtils@isNotEmpty(collect)"> |
|
|
|
|