From a6e053ae9a633ed27d47804f795a5298b6ec68ef Mon Sep 17 00:00:00 2001 From: PigBaoBei <2739175034@qq.com> Date: Tue, 9 Jan 2024 17:07:37 +0800 Subject: [PATCH] =?UTF-8?q?=E8=BF=87=E6=BB=A4=E9=85=8D=E9=80=81=E6=95=B0?= =?UTF-8?q?=E9=87=8F=E4=B8=BA0=E7=9A=84=E9=85=8D=E9=80=81=E4=BB=BB?= =?UTF-8?q?=E5=8A=A1=E5=92=8C=E9=A2=84=E7=BA=A6=E4=BB=BB=E5=8A=A1=E3=80=81?= =?UTF-8?q?PC=E7=AD=BE=E6=94=B6=E5=BA=93=E5=AD=98=E5=93=81=E8=B0=83?= =?UTF-8?q?=E6=95=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../distribution/mapper/DistributionDeliveryInfoMapper.xml | 4 ++-- .../distribution/mapper/DistributionDeliveryListMapper.xml | 2 +- .../service/impl/DistributionReservationServiceImpl.java | 6 +++--- .../service/impl/DistributionSignforServiceImpl.java | 4 +++- 4 files changed, 9 insertions(+), 7 deletions(-) diff --git a/blade-service/logpm-distribution/src/main/java/com/logpm/distribution/mapper/DistributionDeliveryInfoMapper.xml b/blade-service/logpm-distribution/src/main/java/com/logpm/distribution/mapper/DistributionDeliveryInfoMapper.xml index 940a009da..8da37d894 100644 --- a/blade-service/logpm-distribution/src/main/java/com/logpm/distribution/mapper/DistributionDeliveryInfoMapper.xml +++ b/blade-service/logpm-distribution/src/main/java/com/logpm/distribution/mapper/DistributionDeliveryInfoMapper.xml @@ -121,7 +121,7 @@ logpm_distribution_signfor lds JOIN logpm_distribution_reservation ldr ON ldr.id = lds.reservation_id - lds.is_deleted = 0 and lds.delivery_id = #{id} and ldr.reservation_status != 40 + lds.is_deleted = 0 and lds.delivery_id = #{id} and ldr.reservation_status != 40 AND (ldr.reservation_num + ldr.reservation_stock_list_num) > 0