From ad7f461a110cd30ae219bcaa977bbeb0c8409599 Mon Sep 17 00:00:00 2001
From: 严智鑫 <test>
Date: 星期三, 29 五月 2024 08:13:26 +0800
Subject: [PATCH] Merge branch 'master' of http://10.153.19.25:10101/r/Albania_Mes
---
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