Commit 7cd6e693 authored by yanzg's avatar yanzg

修改实体位置

parent c5cb6727
......@@ -382,6 +382,10 @@ public class ExcelConsole<T extends Object> implements DbRow<T> {
} finally {
out.close();
}
File file = new File(this.getFileName());
if (!file.exists()) {
throw new RuntimeException("保存路径" + this.getFileName() + "失败");
}
} catch (IOException e) {
e.printStackTrace();
throw new RuntimeException("保存失败");
......
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