Commit e0ce796c authored by yanzg's avatar yanzg

文件处理

parent b5165932
...@@ -46,8 +46,11 @@ public class YzgFileProcedure implements InitializingBean { ...@@ -46,8 +46,11 @@ public class YzgFileProcedure implements InitializingBean {
} }
public void removeFolder(String serverFolder) { public void removeFolder(String serverFolder) {
if (StringHelper.toBoolean(folderCache.get(serverFolder))) { synchronized (folderCache) {
return; if (StringHelper.toBoolean(folderCache.get(serverFolder))) {
return;
}
folderCache.put(serverFolder, true);
} }
// 获取当前时间 // 获取当前时间
Date dt = new Date(); Date dt = new Date();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment