Commit 1c5b2daa authored by yanzg's avatar yanzg

表结构修改

parent 515afd61
...@@ -528,8 +528,10 @@ public class ExcelConsole<T> implements DbRow<T> { ...@@ -528,8 +528,10 @@ public class ExcelConsole<T> implements DbRow<T> {
b = file.renameTo(toFile); b = file.renameTo(toFile);
if (!b) { if (!b) {
ThreadHelper.sleep(100); ThreadHelper.sleep(100);
} else {
break;
} }
} while (System.currentTimeMillis() <= maxRenameTime && !b); } while (System.currentTimeMillis() <= maxRenameTime);
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