From 2de3409e270ce4836cad94e691b57dcec846c417 Mon Sep 17 00:00:00 2001 From: "pref_mail@163.com" Date: Mon, 8 Apr 2024 18:51:00 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E4=BF=AE=E5=A4=8D=E9=A2=84=E7=BA=A6?= =?UTF-8?q?=E6=9F=A5=E7=9C=8B=E5=8C=85=E9=97=B4=E6=89=80=E5=9C=A8=E6=89=98?= =?UTF-8?q?=E7=9B=98=E4=BF=A1=E6=81=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../distribution/mapper/DistributionStockArticleMapper.xml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) 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,