Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
jinli gu
RuoYi Vue
Commits
c542b7ac
Unverified
Commit
c542b7ac
authored
Sep 30, 2022
by
也曾为你、像超人
Committed by
Gitee
Sep 30, 2022
Browse files
解决导出时包含空子列表数据异常的问题
Signed-off-by:
也曾为你、像超人
<
1553592282@qq.com
>
parent
3607e008
Changes
1
Hide whitespace changes
Inline
Side-by-side
ruoyi-common/src/main/java/com/ruoyi/common/utils/poi/ExcelUtil.java
View file @
c542b7ac
...
@@ -699,6 +699,11 @@ public class ExcelUtil<T>
...
@@ -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
)
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment