diff --git a/ruoyi-common/src/main/java/com/ruoyi/common/utils/poi/ExcelUtil.java b/ruoyi-common/src/main/java/com/ruoyi/common/utils/poi/ExcelUtil.java index da91d737..d6876412 100644 --- a/ruoyi-common/src/main/java/com/ruoyi/common/utils/poi/ExcelUtil.java +++ b/ruoyi-common/src/main/java/com/ruoyi/common/utils/poi/ExcelUtil.java @@ -699,6 +699,11 @@ public class ExcelUtil subList = getListCellValue(vo); subMergedLastRowNum = subMergedLastRowNum + subList.size(); } + else + { + subMergedFirstRowNum++; + subMergedLastRowNum++; + } int column = 0; for (Object[] os : fields)