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

Merge pull request !321 from Hacker/N/A
master
若依 2021-08-11 01:31:57 +00:00 committed by Gitee
commit f34cd1d9b8
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("合计");