|
@@ -1080,8 +1080,8 @@ public class SubInfoExportController extends BaseController {
|
|
|
add(new ExcelExportEntity("解决就业人数", "numP", 12));
|
|
|
add(new ExcelExportEntity("年度投资(亿元)", "yearPlanAmt", 12));
|
|
|
add(new ExcelExportEntity("进展情况", "progress", 30));
|
|
|
- add(new ExcelExportEntity("牵头部门", "deptName", 30));
|
|
|
- add(new ExcelExportEntity("责任领导", "leader", 15));
|
|
|
+ add(new ExcelExportEntity("牵头部门", "chhDesc", 30));
|
|
|
+ add(new ExcelExportEntity("责任领导", "nameZrrLead", 15));
|
|
|
add(new ExcelExportEntity("备注", "remark", 15));
|
|
|
}};
|
|
|
List<Map<String, Object>> collect = exportList.stream().map(e -> {
|
|
@@ -1811,7 +1811,7 @@ public class SubInfoExportController extends BaseController {
|
|
|
vo.setIndex(i + 1 + "");
|
|
|
hyList.add(vo);
|
|
|
}
|
|
|
-
|
|
|
+
|
|
|
allSize.add(exportList.size() + 2);
|
|
|
allSize.add(2);
|
|
|
exportList.addAll(hyList);
|
|
@@ -1832,7 +1832,6 @@ public class SubInfoExportController extends BaseController {
|
|
|
|
|
|
CellStyle nonCenterCellStyle = createNonCenterBoldCellStyle(workbook);
|
|
|
Sheet sheet = workbook.getSheetAt(0);
|
|
|
-
|
|
|
for (Integer row : new HashSet<>(allSize)) {
|
|
|
sheet.addMergedRegion(new CellRangeAddress(row, row, 1, 4));
|
|
|
|
|
@@ -1844,7 +1843,7 @@ public class SubInfoExportController extends BaseController {
|
|
|
}
|
|
|
}
|
|
|
}
|
|
|
-
|
|
|
+
|
|
|
for (int i = 4; i <= list.size() + allSize.size() + 3; i++) {
|
|
|
Optional.ofNullable(sheet.getRow(i)).ifPresent(row -> row.setHeight((short) -1));
|
|
|
}
|