fix: 识别csv 字段类型

This commit is contained in:
taojinlong 2024-01-03 15:39:01 +08:00
parent 36252a0758
commit c63c1c4779

View File

@ -267,9 +267,6 @@ public class ExcelUtils {
int num = 1;
String line;
while ((line = reader.readLine()) != null) {
if (isPreview && num > 1000) {
break;
}
String str;
line += ",";
Pattern pCells = Pattern.compile("(\"[^\"]*(\"{2})*[^\"]*\")*[^,]*,");