From 43f5c8c73957e2d02fceb936a2158a806100ab7e Mon Sep 17 00:00:00 2001 From: "han\\hanst" Date: Wed, 7 Jan 2026 14:45:24 +0800 Subject: [PATCH] =?UTF-8?q?=E5=B7=A5=E5=8D=95=E6=97=A0=E7=89=A9=E6=96=99?= =?UTF-8?q?=E6=B8=85=E5=8D=95=EF=BC=8C=E4=B8=8D=E5=85=81=E8=AE=B8=E5=85=A5?= =?UTF-8?q?=E5=BA=93?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../production/service/impl/ProductionInboundServiceImpl.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/com/gaotao/modules/production/service/impl/ProductionInboundServiceImpl.java b/src/main/java/com/gaotao/modules/production/service/impl/ProductionInboundServiceImpl.java index c4bc921..dcba1b5 100644 --- a/src/main/java/com/gaotao/modules/production/service/impl/ProductionInboundServiceImpl.java +++ b/src/main/java/com/gaotao/modules/production/service/impl/ProductionInboundServiceImpl.java @@ -976,7 +976,7 @@ public class ProductionInboundServiceImpl implements ProductionInboundService { if (materialList == null || materialList.isEmpty()) { log.info("工单无物料清单,允许入库"); - return; + throw new XJException("工单无物料清单,不允许入库"); } log.info("获取到物料清单,共 {} 行", materialList.size());