|
|
|
@ -39,7 +39,8 @@ public class TestMaxKB {
|
|
|
|
|
|
|
|
|
|
//2、记录每个区下有多少个学校,多少个班级,多少个教师,多少个专任教师
|
|
|
|
|
Map<String, List<String>> areaMap = new HashMap<>();
|
|
|
|
|
for (Row row : sheetSource) {
|
|
|
|
|
for (int i = 0; i < sheetSource.getLastRowNum(); i++) {//放过表头
|
|
|
|
|
Row row = sheetSource.getRow(i);
|
|
|
|
|
String schoolName = ExcelCommonUtil.getStringValue(row.getCell(0));//学位名称
|
|
|
|
|
String jyjName = ExcelCommonUtil.getStringValue(row.getCell(1));//教育局
|
|
|
|
|
String classCount = ExcelCommonUtil.getStringValue(row.getCell(2));//班级数量
|
|
|
|
@ -98,6 +99,6 @@ public class TestMaxKB {
|
|
|
|
|
fSource.close();
|
|
|
|
|
wbSource.close();
|
|
|
|
|
|
|
|
|
|
System.out.println("写入成功");
|
|
|
|
|
System.out.println("恭喜,所有操作成功完成!");
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|