From 5fc5876a94dcbd5e9a9fb91f5e3c01211e9c2d96 Mon Sep 17 00:00:00 2001
From: 懒羊羊 <15939171744@163.com>
Date: 星期三, 24 一月 2024 16:59:19 +0800
Subject: [PATCH] 返修标记

---
 jcdm-main/src/main/java/com/jcdm/main/om/productionOrde/controller/OmProductionOrdeInfoController.java |    5 ++++-
 1 files changed, 4 insertions(+), 1 deletions(-)

diff --git a/jcdm-main/src/main/java/com/jcdm/main/om/productionOrde/controller/OmProductionOrdeInfoController.java b/jcdm-main/src/main/java/com/jcdm/main/om/productionOrde/controller/OmProductionOrdeInfoController.java
index 3a624ae..3357f1e 100644
--- a/jcdm-main/src/main/java/com/jcdm/main/om/productionOrde/controller/OmProductionOrdeInfoController.java
+++ b/jcdm-main/src/main/java/com/jcdm/main/om/productionOrde/controller/OmProductionOrdeInfoController.java
@@ -129,6 +129,7 @@
                 bsOrderScheduling.setOperator(getUserName());
                 bsOrderScheduling.setOperateTime(fomateDate);
                 bsOrderScheduling.setProductType(omProductionOrdeInfo.getTypeL());//浜у搧绫诲瀷
+                bsOrderScheduling.setWhetherOrPrint("0");
                 bsOrderSchedulingService.insertBsOrderScheduling(bsOrderScheduling);
                 startCode++;
             }
@@ -196,7 +197,9 @@
             } catch (Exception e) {
                 return error("鎺ユ敹澶辫触锛佽妫�鏌ラ�氱煡鍗曞彿");
             }
+        }else {
+            return warn("璇ラ�氱煡鍗曞凡缁忔帴鏀跺畬姣曪紝涓嶈兘閲嶅鎺ユ敹锛�");
         }
-        return warn("璇ヨ鍗曞凡鎺ユ敹瀹屾瘯锛屼笉鑳介噸澶嶆帴鏀讹紒");
+        return AjaxResult.success("鎺ユ敹鎴愬姛锛�");
     }
 }

--
Gitblit v1.9.3