From f8751d6e701e0c3e7d8959449b67db6c35d09ec8 Mon Sep 17 00:00:00 2001
From: fuliqi <fuliqi@qq.com>
Date: 星期日, 08 十二月 2024 19:24:07 +0800
Subject: [PATCH] 新增故障类型

---
 ycl-server/src/main/java/com/ycl/platform/service/impl/YwThresholdServiceImpl.java |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/ycl-server/src/main/java/com/ycl/platform/service/impl/YwThresholdServiceImpl.java b/ycl-server/src/main/java/com/ycl/platform/service/impl/YwThresholdServiceImpl.java
index a7cfcce..440e2a7 100644
--- a/ycl-server/src/main/java/com/ycl/platform/service/impl/YwThresholdServiceImpl.java
+++ b/ycl-server/src/main/java/com/ycl/platform/service/impl/YwThresholdServiceImpl.java
@@ -670,7 +670,7 @@
         List<String> errorTypeListAdd = workOrderWhite.getErrorTypeList();
         List<WorkOrderWhite> whites = workOrderWhiteMapper.selectList();
         for (WorkOrderWhite white : whites) {
-            List<String> errorTypeList = Arrays.asList(white.getErrorType().split(","));
+            List<String> errorTypeList = new ArrayList<>(Arrays.asList(white.getErrorType().split(",")));
             for (String newError : errorTypeListAdd) {
                 if (errorTypeList.contains(newError)) {
                     continue;

--
Gitblit v1.8.0