forked from github/dataease
fix: 过滤掉没有列名的 sheet 页面
This commit is contained in:
parent
6053d0565d
commit
244e895195
@ -1263,7 +1263,7 @@ public class DataSetTableService {
|
|||||||
} else {
|
} else {
|
||||||
retrunSheetDataList = excelSheetDataList;
|
retrunSheetDataList = excelSheetDataList;
|
||||||
}
|
}
|
||||||
|
retrunSheetDataList = retrunSheetDataList.stream().filter(excelSheetData -> CollectionUtils.isNotEmpty(excelSheetData.getFields())).collect(Collectors.toList());
|
||||||
// save file
|
// save file
|
||||||
String excelId = UUID.randomUUID().toString();
|
String excelId = UUID.randomUUID().toString();
|
||||||
String filePath = saveFile(file, excelId);
|
String filePath = saveFile(file, excelId);
|
||||||
|
Loading…
Reference in New Issue
Block a user