feat:去掉根据header的验证

This commit is contained in:
lilong 2024-03-30 08:48:05 +08:00
parent ead6b9af5f
commit e994e7342e

View File

@ -437,7 +437,7 @@ public class DataSheetImporter extends DataSheetClient.ImporterBuilder {
return; return;
} }
if (meta.getCellMetas().size() > dataListener.getLines().size()) { if (meta.getCellMetas().size() > dataListener.getHeadMap().size()) {
throw DataSheetClient.ResultCode.IMPORT_COLUMN_MISSING_CELL_META.toException(); throw DataSheetClient.ResultCode.IMPORT_COLUMN_MISSING_CELL_META.toException();
} }