bug: 政策课题导入修改

This commit is contained in:
wxyclub
2023-11-22 20:41:10 +08:00
parent 502b274453
commit b93dd64f67
@@ -299,7 +299,7 @@ public class SarLawsTopicServiceImpl extends ServiceImpl<SarLawsTopicMapper, Sar
// 获取excel表头 // 获取excel表头
List<String> headerList = new ArrayList<>(); List<String> headerList = new ArrayList<>();
Row headerRow = sheet.getRow(1); Row headerRow = sheet.getRow(1);
for (int i = 0; i < 22; i++) { for (int i = 0; i < 7; i++) {
headerList.add(headerRow.getCell(i).getStringCellValue()); headerList.add(headerRow.getCell(i).getStringCellValue());
} }
// 获取关联表表头 // 获取关联表表头