公开征求意见以及流程部分功能修复

This commit is contained in:
yuezhihang
2021-12-16 15:33:21 +08:00
parent 4eda945927
commit a5e00ef286
5 changed files with 49 additions and 18 deletions
@@ -47,20 +47,34 @@ public class TableToExcel {
if (j<3)
hCell.setCellValue(columnMap.get(key));
}
Cell hCellh = headRow.createCell(2);
hCellh.setCellValue("修改意见内容");
Cell hCell = headRow.createCell(5);
hCell.setCellValue("提出部门");
Cell hCell1 = headRow.createCell(6);
hCell1.setCellValue("提出人");
Cell hCell2 = headRow.createCell(7);
hCell2.setCellValue("处理意见");
Cell nCell = neckRow.createCell(2);
nCell.setCellValue("修改前");
Cell nCell1 = neckRow.createCell(3);
nCell1.setCellValue("修改后");
Cell nCell2 = neckRow.createCell(4);
nCell2.setCellValue("修改理由");
if (null!=columnMap.get("commentText")) {
Cell hCellh = headRow.createCell(2);
hCellh.setCellValue("修改意见内容");
}
if (null!=columnMap.get("department")) {
Cell hCell = headRow.createCell(5);
hCell.setCellValue("提出部门");
}
if (null!=columnMap.get("responUserName")) {
Cell hCell1 = headRow.createCell(6);
hCell1.setCellValue("提出人");
}
if (null!=columnMap.get("stateText")) {
Cell hCell2 = headRow.createCell(7);
hCell2.setCellValue("处理意见");
}
if (null!=columnMap.get("oldText")) {
Cell nCell = neckRow.createCell(2);
nCell.setCellValue("修改前");
}
if (null!=columnMap.get("newText")) {
Cell nCell1 = neckRow.createCell(3);
nCell1.setCellValue("修改后");
}
if (null!=columnMap.get("reason")) {
Cell nCell1 = neckRow.createCell(4);
nCell1.setCellValue("修改理由");
}
//从第三行开始填充数据