kgdxpr 8 months ago
commit 39ea0f3da9

@ -736,8 +736,8 @@ public class DataEaseModel {
//第一行是表头
String colName = listExcelRow.getFirst().getData().get(j);
if (StrKit.isBlank(value.trim()) && colName.equals("数值")) {
record.set(colName, 0);
if (StrKit.isBlank(value.trim()) && colName.contains("数值")) {
record.set(colName, null);
} else if (isInteger(value)) {
record.set(colName, Integer.parseInt(value));
} else if (isDouble(value)) {

Loading…
Cancel
Save