流程清单 导出excel模型名称列 改为现有宽度的2倍
This commit is contained in:
parent
e92d778049
commit
f68451b494
Binary file not shown.
@ -1201,11 +1201,11 @@ public class PALRepositoryListWeb extends ActionWeb {
|
||||
tempArr.add(obj);
|
||||
}
|
||||
ConsolePrinter.info("流程清单扩展列信息[" + tempArr.toJSONString() + "]");
|
||||
ConsolePrinter.info("流程清单表头信息[" + tableHeadConfigArr.toJSONString() + "]");
|
||||
// 获取符合条件数据的maxLevel
|
||||
int maxLevel = getMaxLevelByList(palList);
|
||||
// 获取Excel表头信息
|
||||
List<String> excelTableHeadList = getExcelTableHeadData(wsId, palList, maxLevel, tempArr);
|
||||
ConsolePrinter.info("流程清单表头信息 " + excelTableHeadList.toString().replaceAll("\n",""));
|
||||
short column = columnIndex;
|
||||
// 设置默认的两行 通栏
|
||||
rowIndex = getExcelHeader(wb, sheet, rowIndex, column, excelTableHeadList, wsId);
|
||||
@ -1220,6 +1220,8 @@ public class PALRepositoryListWeb extends ActionWeb {
|
||||
sheet.setColumnWidth(column, 1500);
|
||||
} else if (i == maxLevel + 1) {// 空列
|
||||
sheet.setColumnWidth(column, 9200);
|
||||
} else if (i == maxLevel + 2){ // 模型名称列
|
||||
sheet.setColumnWidth(column, 8000);
|
||||
} else {// 表格列
|
||||
sheet.setColumnWidth(column, 4000);
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user