diff --git a/blade-service/logpm-distribution/src/main/java/com/logpm/distribution/mapper/DistributionStockArticleMapper.xml b/blade-service/logpm-distribution/src/main/java/com/logpm/distribution/mapper/DistributionStockArticleMapper.xml index a59bb8518..292475ccd 100644 --- a/blade-service/logpm-distribution/src/main/java/com/logpm/distribution/mapper/DistributionStockArticleMapper.xml +++ b/blade-service/logpm-distribution/src/main/java/com/logpm/distribution/mapper/DistributionStockArticleMapper.xml @@ -979,8 +979,10 @@ ldpl.order_package_code, ldpl.cargo_title, ldpl.shelf_title, - ldpl.goods_allocation, - ldpl.pallet, + (SELECT lwga.qr_code from logpm_warehouse_updown_goods lwug left join + logpm_warehouse_goods_allocation lwga on lwga.id = lwug.allocation_id + where association_value=ldpl.order_package_code) goods_allocation, + (SELECT lwt.pallet_name from logpm_warehouse_tray_goods lwtg LEFT JOIN logpm_warehouse_tray lwt on lwt.id=lwtg.tray_id where lwtg.association_value=ldpl.order_package_code ) pallet, ldpl.firsts_code, ldpl.firsts, ldpl.second_code,