update ruoyi-common/src/main/java/com/ruoyi/common/utils/poi/ExcelUtil.java.

pull/321/head
Hacker 2021-08-10 03:40:35 +00:00 committed by Gitee
parent 0606663fe8
commit 3bf25cc829
1 changed files with 1 additions and 2 deletions

View File

@ -894,10 +894,9 @@ public class ExcelUtil<T>
{
if (statistics.size() > 0)
{
Cell cell = null;
Row row = sheet.createRow(sheet.getLastRowNum() + 1);
Set<Integer> keys = statistics.keySet();
cell = row.createCell(0);
Cell cell = row.createCell(0);
cell.setCellStyle(styles.get("total"));
cell.setCellValue("合计");