From cd017fae7b975035e5712a4568ec4bdda4190b05 Mon Sep 17 00:00:00 2001
From: chenlu <1320612696@qq.com>
Date: 星期二, 21 五月 2024 13:06:02 +0800
Subject: [PATCH] 添加设备管理模块缺少的修改功能

---
 north-glass-erp/src/main/java/com/example/erp/service/pp/ReportingWorkService.java |    8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/north-glass-erp/src/main/java/com/example/erp/service/pp/ReportingWorkService.java b/north-glass-erp/src/main/java/com/example/erp/service/pp/ReportingWorkService.java
index f544c82..7a351f4 100644
--- a/north-glass-erp/src/main/java/com/example/erp/service/pp/ReportingWorkService.java
+++ b/north-glass-erp/src/main/java/com/example/erp/service/pp/ReportingWorkService.java
@@ -68,11 +68,11 @@
         //鏌ヨ娴佺▼鍗″伐鑹烘祦绋�
         String technologicalProcess = reportingWorkMapper.SelectTechnologicalProcess(processIdStr);
 
-        //瀹氫箟-鐨勪綅缃�
-        int index = technologicalProcess.indexOf("-");
-        //鑾峰彇宸ヨ壓娴佺▼绗竴涓伐搴�
-        String interceptProcess = technologicalProcess.substring(0, index);
+
+
         String[] processList = technologicalProcess.split("->");
+        //鑾峰彇宸ヨ壓娴佺▼绗竴涓伐搴�
+        String interceptProcess = processList[0];
         int length = processList.length;
 
         //瀹氫箟褰撳墠宸ュ簭涓婁笅宸ュ簭

--
Gitblit v1.8.0