Compare commits
2 Commits
cf2a2701ca
...
bf2899cef0
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
bf2899cef0 | ||
|
|
f66f6ce0ab |
@ -164,7 +164,11 @@ public class CaseplatformCaseExcelController {
|
||||
Workbook workbook = (Workbook) writer.writeContext().writeWorkbookHolder().getWorkbook();
|
||||
Sheet sheet = workbook.getSheetAt(0);
|
||||
sheet.addMergedRegion(new CellRangeAddress(0, 0, 0, head.size() - 1));
|
||||
Row titleRow = sheet.createRow(0);
|
||||
//Row titleRow = sheet.createRow(0);
|
||||
Row titleRow = sheet.getRow(0);
|
||||
if (titleRow == null) {
|
||||
titleRow = sheet.createRow(0);
|
||||
}
|
||||
titleRow.setHeightInPoints(30); // 设置标题行高
|
||||
Cell titleCell = titleRow.createCell(0);
|
||||
titleCell.setCellValue("人工肝诊疗病例征集项目专家劳务费表");
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user