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 @@