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
06fbda53
Commit
06fbda53
authored
Nov 07, 2022
by
RuoYi
Browse files
修复sheet超出最大行数异常问题
parent
bf313b17
Changes
1
Hide whitespace changes
Inline
Side-by-side
ruoyi-common/src/main/java/com/ruoyi/common/utils/poi/ExcelUtil.java
View file @
06fbda53
...
@@ -689,7 +689,7 @@ public class ExcelUtil<T>
...
@@ -689,7 +689,7 @@ public class ExcelUtil<T>
int
rowNo
=
(
1
+
rownum
)
-
startNo
;
int
rowNo
=
(
1
+
rownum
)
-
startNo
;
for
(
int
i
=
startNo
;
i
<
endNo
;
i
++)
for
(
int
i
=
startNo
;
i
<
endNo
;
i
++)
{
{
rowNo
=
i
>
1
?
rowNo
+
1
:
rowNo
+
i
;
rowNo
=
isSubList
()
?
(
i
>
1
?
rowNo
+
1
:
rowNo
+
i
)
:
i
+
1
+
rownum
-
startNo
;
row
=
sheet
.
createRow
(
rowNo
);
row
=
sheet
.
createRow
(
rowNo
);
// 得到导出对象.
// 得到导出对象.
T
vo
=
(
T
)
list
.
get
(
i
);
T
vo
=
(
T
)
list
.
get
(
i
);
...
...
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