|
|
|
@ -18,7 +18,7 @@ public class ExcelReader {
|
|
|
|
|
String sheetName = "基教小学";
|
|
|
|
|
|
|
|
|
|
// 从第8行开始读取(跳过前7行)
|
|
|
|
|
List<SchoolData> dataList = EasyExcel.read(filePath)
|
|
|
|
|
List<SchoolData> dataList = FastExcel.read(filePath)
|
|
|
|
|
.head(SchoolData.class)
|
|
|
|
|
.sheet(sheetName)
|
|
|
|
|
.headRowNumber(7) // 跳过前7行
|
|
|
|
|