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

This commit is contained in:
Hacker
2021-08-10 03:40:35 +00:00
committed by Gitee
parent 0606663fe8
commit 3bf25cc829

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("合计");