征求意见流程内部导出 bug修复

This commit is contained in:
yuezhihang
2022-01-10 17:27:09 +08:00
parent 5f67b22e7c
commit fbde67fd7f
3 changed files with 46 additions and 1 deletions
@@ -39,6 +39,7 @@ public class TableToExcel {
sheet.addMergedRegion(new CellRangeAddress(0,1,5,5));
sheet.addMergedRegion(new CellRangeAddress(0,1,6,6));
sheet.addMergedRegion(new CellRangeAddress(0,1,7,7));
sheet.addMergedRegion(new CellRangeAddress(0,1,8,8));
//生成表头行
int j=0;
@@ -75,6 +76,10 @@ public class TableToExcel {
Cell nCell1 = neckRow.createCell(4);
nCell1.setCellValue("修改理由");
}
if (null!=columnMap.get("cause")) {
Cell nCell1 = headRow.createCell(8);
nCell1.setCellValue("原因");
}
//从第三行开始填充数据