提交 244e8951 authored 作者: taojinlong's avatar taojinlong

fix: 过滤掉没有列名的 sheet 页面

上级 6053d056
......@@ -1263,7 +1263,7 @@ public class DataSetTableService {
} else {
retrunSheetDataList = excelSheetDataList;
}
retrunSheetDataList = retrunSheetDataList.stream().filter(excelSheetData -> CollectionUtils.isNotEmpty(excelSheetData.getFields())).collect(Collectors.toList());
// save file
String excelId = UUID.randomUUID().toString();
String filePath = saveFile(file, excelId);
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论