Commit e0ce796c authored by yanzg's avatar yanzg

文件处理

parent b5165932
...@@ -46,9 +46,12 @@ public class YzgFileProcedure implements InitializingBean { ...@@ -46,9 +46,12 @@ public class YzgFileProcedure implements InitializingBean {
} }
public void removeFolder(String serverFolder) { public void removeFolder(String serverFolder) {
synchronized (folderCache) {
if (StringHelper.toBoolean(folderCache.get(serverFolder))) { if (StringHelper.toBoolean(folderCache.get(serverFolder))) {
return; return;
} }
folderCache.put(serverFolder, true);
}
// 获取当前时间 // 获取当前时间
Date dt = new Date(); Date dt = new Date();
Date dtTo = DateHelper.addDay(dt, 2); Date dtTo = DateHelper.addDay(dt, 2);
......
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