Commit cb5b8d7a authored by yanzg's avatar yanzg

表结构修改

parent 88f56fc5
......@@ -18,7 +18,6 @@ import org.apache.poi.ss.util.RegionUtil;
import org.apache.poi.xssf.streaming.SXSSFWorkbook;
import java.io.File;
import java.io.FileOutputStream;
import java.io.IOException;
import java.io.OutputStream;
import java.nio.file.Files;
......@@ -527,7 +526,7 @@ public class ExcelConsole<T> implements DbRow<T> {
boolean b;
do {
b = file.renameTo(toFile);
} while (System.currentTimeMillis() <= maxRenameTime || !b);
} while (System.currentTimeMillis() <= maxRenameTime && !b);
if (!b) {
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