From a27f1b573fc5cf9a3b78e2eacb56e44310f83456 Mon Sep 17 00:00:00 2001
From: zhangherong <571457620@qq.com>
Date: 星期三, 27 八月 2025 12:17:01 +0800
Subject: [PATCH] art: 添加入库逻辑,SAP订单同步参数动态配置

---
 src/main/java/org/jeecg/modules/andon/controller/AndonOrderController.java |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/src/main/java/org/jeecg/modules/andon/controller/AndonOrderController.java b/src/main/java/org/jeecg/modules/andon/controller/AndonOrderController.java
index 2b8e922..d05ceca 100644
--- a/src/main/java/org/jeecg/modules/andon/controller/AndonOrderController.java
+++ b/src/main/java/org/jeecg/modules/andon/controller/AndonOrderController.java
@@ -83,6 +83,8 @@
             String productionLineId = andonResponseConfigService.getProductionLineIdByButtonId(andonOrder.getButtonId());
             if (productionLineId != null) {
                 andonOrder.setFactoryId(productionLineId);
+            }else{
+             return Result.error("鏈壘鍒板搴旂殑浜х嚎ID,璇峰厛杩涜瀹夌伅鍝嶅簲閰嶇疆锛�");
             }
         }
         andonOrderService.save(andonOrder);

--
Gitblit v1.9.3