|
|
@ -806,23 +806,23 @@ |
|
|
|
</select> |
|
|
|
</select> |
|
|
|
<select id="selectAppDeliveryInventoryPage" resultType="com.logpm.distribution.vo.app.DistributionAppStockArticleVO"> |
|
|
|
<select id="selectAppDeliveryInventoryPage" resultType="com.logpm.distribution.vo.app.DistributionAppStockArticleVO"> |
|
|
|
SELECT |
|
|
|
SELECT |
|
|
|
distinct ldsl.id id, |
|
|
|
ldsl.id id, |
|
|
|
ldsl.sku sku, |
|
|
|
ldsl.sku sku, |
|
|
|
ldsl.cargo_number cargoNumber, |
|
|
|
ldsl.cargo_number cargoNumber, |
|
|
|
ldsl.description_goods descriptionGoods, |
|
|
|
ldsl.description_goods descriptionGoods, |
|
|
|
ldl.signfor_state signforState, |
|
|
|
ldl.signfor_state signforState, |
|
|
|
ldl.order_package_code orderPackageCode, |
|
|
|
ldl.order_package_code orderPackageCode, |
|
|
|
lbm.specification specification, |
|
|
|
lbm.specification specification, |
|
|
|
lbm.logpm_unit logpmUnit |
|
|
|
lbm.logpm_unit logpmUnit, |
|
|
|
|
|
|
|
if(ldl.id is not null,IF(ldl.signfor_state = 2,1,0),0) AS signforNub |
|
|
|
FROM |
|
|
|
FROM |
|
|
|
logpm_distribution_reservation ldr |
|
|
|
logpm_dis_stock_list_detail AS ldsld |
|
|
|
join logpm_distribution_reservation_stocklist ldrs on ldr.id = ldrs.reservation_id |
|
|
|
LEFT JOIN logpm_distribution_stock_list AS ldsl ON ldsld.stock_list_id = ldsl.id |
|
|
|
join logpm_distribution_stock_list ldsl on ldsl.id = ldrs.stocklist_id |
|
|
|
LEFT JOIN logpm_distribution_loadscaninvn ldl ON ldsl.id = ldl.inventory_id AND ldsld.id = ldl.inventory_package_id |
|
|
|
LEFT JOIN logpm_distribution_loadscaninvn ldl on ldsl.id = ldl.inventory_id |
|
|
|
LEFT JOIN logpm_basicdata_material lbm ON ldsl.material_id = lbm.id |
|
|
|
left join logpm_basicdata_material lbm on ldsl.material_id = lbm.id |
|
|
|
|
|
|
|
<where> |
|
|
|
<where> |
|
|
|
ldr.is_deleted = 0 |
|
|
|
ldsld.is_deleted = 0 |
|
|
|
AND ldr.id = #{param.reservationId} |
|
|
|
AND ldsld.reservation_id = #{param.reservationId} |
|
|
|
</where> |
|
|
|
</where> |
|
|
|
</select> |
|
|
|
</select> |
|
|
|
<select id="selectListbyink" resultType="com.logpm.distribution.vo.app.DistributionAppStockArticleVO"> |
|
|
|
<select id="selectListbyink" resultType="com.logpm.distribution.vo.app.DistributionAppStockArticleVO"> |
|
|
|