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

Merge pull request !595 from 也曾为你、像超人/N/A
master
若依 2 years ago committed by Gitee
commit 186c04d90a
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