From 1f305ff688283cffe636844fe443677f81303139 Mon Sep 17 00:00:00 2001
From: Houjie <714924425@qq.com>
Date: 星期三, 27 八月 2025 11:58:19 +0800
Subject: [PATCH] 故障报修, 维修工单  迁移

---
 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