From f16087f501ceac45f221c56bf86073ba8bcdfb03 Mon Sep 17 00:00:00 2001 From: PigBaoBei <2739175034@qq.com> Date: Mon, 15 Jan 2024 17:34:20 +0800 Subject: [PATCH] =?UTF-8?q?=E9=A2=84=E7=BA=A6=E7=BC=96=E8=BE=91=E6=8B=A6?= =?UTF-8?q?=E6=88=AA=E6=97=A0=E6=95=88=E5=BA=93=E5=AD=98=E5=93=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../service/impl/DistributionReservationServiceImpl.java | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/blade-service/logpm-distribution/src/main/java/com/logpm/distribution/service/impl/DistributionReservationServiceImpl.java b/blade-service/logpm-distribution/src/main/java/com/logpm/distribution/service/impl/DistributionReservationServiceImpl.java index c027adecd..6f41e9920 100644 --- a/blade-service/logpm-distribution/src/main/java/com/logpm/distribution/service/impl/DistributionReservationServiceImpl.java +++ b/blade-service/logpm-distribution/src/main/java/com/logpm/distribution/service/impl/DistributionReservationServiceImpl.java @@ -1823,7 +1823,11 @@ public class DistributionReservationServiceImpl extends BaseServiceImpl keyongshuliang) { + throw new RuntimeException("库存品库内数量不足!!!"); + } //新增库存品 reservationStocklistEntity.setStocklistId(distributionStockListDTO.getId()); reservationStocklistEntity.setReservationId(id);