From 8226df45b047eecaccf3af974c1822ef3e3df675 Mon Sep 17 00:00:00 2001 From: kilo Date: Wed, 15 Nov 2023 10:14:45 +0800 Subject: [PATCH] =?UTF-8?q?=E5=8F=96=E6=B6=88=E9=A2=84=E7=BA=A6bug?= =?UTF-8?q?=E4=BF=AE=E5=A4=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../distribution/mapper/DistributionStockupInfoMapper.java | 2 +- .../distribution/mapper/DistributionStockupInfoMapper.xml | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/blade-service/logpm-distribution/src/main/java/com/logpm/distribution/mapper/DistributionStockupInfoMapper.java b/blade-service/logpm-distribution/src/main/java/com/logpm/distribution/mapper/DistributionStockupInfoMapper.java index 92b8278d2..07f5bfe44 100644 --- a/blade-service/logpm-distribution/src/main/java/com/logpm/distribution/mapper/DistributionStockupInfoMapper.java +++ b/blade-service/logpm-distribution/src/main/java/com/logpm/distribution/mapper/DistributionStockupInfoMapper.java @@ -58,7 +58,7 @@ public interface DistributionStockupInfoMapper extends BaseMapper< Distribution * 删除预约备货中间表 * @param id */ - void deleteByReservationId(@Param("id") Long stockupId,@Param("reservationId") Long id); + void deleteByReservationId(@Param("stockupId") Long stockupId,@Param("reservationId") Long id); /** * 备货商 市查询库存品的数量 diff --git a/blade-service/logpm-distribution/src/main/java/com/logpm/distribution/mapper/DistributionStockupInfoMapper.xml b/blade-service/logpm-distribution/src/main/java/com/logpm/distribution/mapper/DistributionStockupInfoMapper.xml index b84a7b2db..f623dfccd 100644 --- a/blade-service/logpm-distribution/src/main/java/com/logpm/distribution/mapper/DistributionStockupInfoMapper.xml +++ b/blade-service/logpm-distribution/src/main/java/com/logpm/distribution/mapper/DistributionStockupInfoMapper.xml @@ -8,11 +8,11 @@ DELETE FROM logpm_distribution_stockup_info - - and reservation_id = #{reservationId} + + and stockup_id = #{stockupId} - and if = #{id} + and reservation_id = #{reservationId}