diff --git a/blade-service/logpm-distribution/src/main/java/com/logpm/distribution/mapper/DistributionDeliveryListMapper.xml b/blade-service/logpm-distribution/src/main/java/com/logpm/distribution/mapper/DistributionDeliveryListMapper.xml index 478f4372c..de38fcea5 100644 --- a/blade-service/logpm-distribution/src/main/java/com/logpm/distribution/mapper/DistributionDeliveryListMapper.xml +++ b/blade-service/logpm-distribution/src/main/java/com/logpm/distribution/mapper/DistributionDeliveryListMapper.xml @@ -1921,7 +1921,7 @@ logpm_distribution_signfor AS lds LEFT JOIN logpm_distribution_delivery_list AS lddl ON lds.delivery_id = lddl.id LEFT JOIN logpm_distribution_reservation AS ldr ON lds.reservation_id = ldr.id - where lddl.id=#{deliveryId} + where lddl.id=#{deliveryId} and ldr.id=#{reservationId} and ldr.reservation_status !=40