解决导出时包含空子列表数据异常的问题

Signed-off-by: 也曾为你、像超人 <1553592282@qq.com>
master
也曾为你、像超人 2 years ago committed by Gitee
parent 3607e008a3
commit c542b7ac32
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F
  1. 5
      ruoyi-common/src/main/java/com/ruoyi/common/utils/poi/ExcelUtil.java

@ -699,6 +699,11 @@ public class ExcelUtil<T>
subList = getListCellValue(vo); subList = getListCellValue(vo);
subMergedLastRowNum = subMergedLastRowNum + subList.size(); subMergedLastRowNum = subMergedLastRowNum + subList.size();
} }
else
{
subMergedFirstRowNum++;
subMergedLastRowNum++;
}
int column = 0; int column = 0;
for (Object[] os : fields) for (Object[] os : fields)

Loading…
Cancel
Save