Commit b2901a2e by 陶光胜

报表中心

parent 1deefec0
......@@ -99,6 +99,10 @@ public class FileUtils {
}
private static File createTmpFile(String path){
File dir = new File(SAVE_FOLDER);
if(!dir.exists()){
dir.mkdirs();
}
File tmp = new File(path);
if (tmp.exists()) { // 删除可能存在的文件
tmp.delete();
......
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