From 9ab238ade92f0e03d3688704e3a731c56d0e1fbc Mon Sep 17 00:00:00 2001 From: PigBaoBei <2739175034@qq.com> Date: Mon, 13 May 2024 10:55:45 +0800 Subject: [PATCH] =?UTF-8?q?=E8=87=AA=E6=8F=90=E4=BF=AE=E6=94=B9=E8=AE=A1?= =?UTF-8?q?=E5=88=92=E5=A4=87=E8=B4=A7=E4=BB=BB=E5=8A=A1=E6=9C=AA=E6=94=B9?= =?UTF-8?q?=E5=8F=98BUG=E4=BF=AE=E5=A4=8D=E3=80=82=E8=87=AA=E6=8F=90?= =?UTF-8?q?=E6=8E=A8=E9=80=81=E8=80=81=E7=B3=BB=E7=BB=9F=E3=80=81=E5=BC=82?= =?UTF-8?q?=E5=B8=B8=E7=AD=BE=E6=94=B6=E6=8B=A6=E6=88=AA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../mapper/DistributionStockupMapper.xml | 61 ++++++++++--------- .../impl/DistributionSignforServiceImpl.java | 27 ++++++-- .../DistrilbutionBillLadingServiceImpl.java | 2 + 3 files changed, 56 insertions(+), 34 deletions(-) diff --git a/blade-service/logpm-distribution/src/main/java/com/logpm/distribution/mapper/DistributionStockupMapper.xml b/blade-service/logpm-distribution/src/main/java/com/logpm/distribution/mapper/DistributionStockupMapper.xml index a84be977b..1648602d8 100644 --- a/blade-service/logpm-distribution/src/main/java/com/logpm/distribution/mapper/DistributionStockupMapper.xml +++ b/blade-service/logpm-distribution/src/main/java/com/logpm/distribution/mapper/DistributionStockupMapper.xml @@ -527,11 +527,12 @@ ) trays , (select COUNT(DISTINCT id) from logpm_distrilbution_bill_stock - where bill_lading_id = ldsi.reservation_id and order_status in (1,2) ) orderNum, + where bill_lading_id = ldsi.reservation_id and order_status in (1,3) ) orderNum, ( select COUNT(DISTINCT ldbs.id) from logpm_distrilbution_bill_package ldbs where ldbs.bill_lading_id = ldsi.reservation_id + AND ldbs.packet_bar_status IN (1,3) ) planNum, ( select SUM(lddd.quantity) @@ -724,35 +725,39 @@