|
|
|
@ -152,7 +152,16 @@
|
|
|
|
|
<select id="getInventoryOwn" resultType="com.logpm.distribution.vo.DistributionStockupVO"> |
|
|
|
|
select DISTINCT ldsii.sku ,ldsii.order_self_numbering orderSelfNumbering,ldsii.description_goods descriptionGoods,ldsii.cargo_unit cargoUnit, |
|
|
|
|
ldrsi.reservation_num reservationNum,ldpl.pallet ,lds.stockup_area stockupArea, |
|
|
|
|
lds.stockup_status stockupStatus,lds.stockup_date stockupDate,ldpl.goods_allocation goodsAllocation |
|
|
|
|
lds.stockup_status stockupStatus,lds.stockup_date stockupDate,ldpl.goods_allocation goodsAllocation, |
|
|
|
|
( |
|
|
|
|
select count(1) |
|
|
|
|
from logpm_distribution_stock ds |
|
|
|
|
WHERE ds.stock_article in ( |
|
|
|
|
select DISTINCT dpl.id |
|
|
|
|
from logpm_distribution_parcel_list dpl |
|
|
|
|
where dpl.stock_article_id = ldrsi.stocklist_id |
|
|
|
|
) |
|
|
|
|
) number |
|
|
|
|
|
|
|
|
|
from logpm_distribution_stockup_info ldsi |
|
|
|
|
|
|
|
|
|