From 5780c58879296cfced72012c8831c1d3cf4dafb2 Mon Sep 17 00:00:00 2001
From: wu <731351411@qq.com>
Date: 星期四, 14 十一月 2024 00:33:13 +0800
Subject: [PATCH] 增加任务队列 任务日志,客户名称字段

---
 springboot-vue3/src/main/java/com/example/springboot/component/InitUtil.java |    6 ++++++
 1 files changed, 6 insertions(+), 0 deletions(-)

diff --git a/springboot-vue3/src/main/java/com/example/springboot/component/InitUtil.java b/springboot-vue3/src/main/java/com/example/springboot/component/InitUtil.java
index ac71b25..95a670a 100644
--- a/springboot-vue3/src/main/java/com/example/springboot/component/InitUtil.java
+++ b/springboot-vue3/src/main/java/com/example/springboot/component/InitUtil.java
@@ -7,6 +7,7 @@
 import com.example.springboot.entity.device.PlcParameterObject;
 
 import java.io.BufferedReader;
+import java.io.File;
 import java.io.FileReader;
 import java.io.IOException;
 import java.util.ArrayList;
@@ -16,6 +17,11 @@
 public class InitUtil {
     //鍒濆鍖杦ord
     public static PlcParameterObject initword(String jsonFilePath) {
+        // File file=new File(jsonFilePath);
+        // if (!file.exists()) {
+        //     System.out.println(jsonFilePath);
+        //     return null;
+        // }
         try {
             FileReader fileReader = new FileReader(jsonFilePath);
             BufferedReader bufferedReader = new BufferedReader(fileReader);

--
Gitblit v1.8.0