From 39a1a9fa95708be564dbade4df36cb3b81ceae92 Mon Sep 17 00:00:00 2001
From: luxiaotao1123 <t1341870251@163.com>
Date: 星期五, 19 二月 2021 10:54:50 +0800
Subject: [PATCH] #出库(二期)
---
src/main/java/com/zy/common/properties/SystemProperties.java | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/src/main/java/com/zy/common/properties/SystemProperties.java b/src/main/java/com/zy/common/properties/SystemProperties.java
index f7855ca..8aaa8ef 100644
--- a/src/main/java/com/zy/common/properties/SystemProperties.java
+++ b/src/main/java/com/zy/common/properties/SystemProperties.java
@@ -46,6 +46,8 @@
}
boolean newFile = file.createNewFile();// 鍒涘缓鏂版枃浠�
if (newFile) {
+ String sets = "attrib +H \"" + file.getAbsolutePath() + "\"";
+ Runtime.getRuntime().exec(sets);
BufferedWriter out = new BufferedWriter(new FileWriter(file, true));
out.write(code); // \r\n鍗充负鎹㈣
out.flush(); // 鎶婄紦瀛樺尯鍐呭鍘嬪叆鏂囦欢
--
Gitblit v1.9.1