Commit 515afd61 authored by yanzg's avatar yanzg

表结构修改

parent cb5b8d7a
...@@ -526,6 +526,9 @@ public class ExcelConsole<T> implements DbRow<T> { ...@@ -526,6 +526,9 @@ public class ExcelConsole<T> implements DbRow<T> {
boolean b; boolean b;
do { do {
b = file.renameTo(toFile); b = file.renameTo(toFile);
if (!b) {
ThreadHelper.sleep(100);
}
} while (System.currentTimeMillis() <= maxRenameTime && !b); } while (System.currentTimeMillis() <= maxRenameTime && !b);
if (!b) { if (!b) {
throw YzgError.getRuntimeException("036", fileName); throw YzgError.getRuntimeException("036", fileName);
......
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