Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
S
sts网站
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
liyang
sts网站
Commits
aa23ef1e
Commit
aa23ef1e
authored
Apr 28, 2020
by
RuoYi
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
添加新群号:104180207
parent
e7ac7853
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
README.md
README.md
+1
-1
ExcelUtil.java
...i/src/main/java/com/ruoyi/common/utils/poi/ExcelUtil.java
+2
-2
No files found.
README.md
View file @
aa23ef1e
...
@@ -81,4 +81,4 @@
...
@@ -81,4 +81,4 @@
## 若依前后端分离交流群
## 若依前后端分离交流群
QQ群:
[

](https://jq.qq.com/?_wv=1027&k=5bVB1og)
[

](https://jq.qq.com/?_wv=1027&k=5eiA4DH)
[

](https://jq.qq.com/?_wv=1027&k=5AxMKlC)点击按钮入群。
QQ群:
[

](https://jq.qq.com/?_wv=1027&k=5bVB1og)
[

](https://jq.qq.com/?_wv=1027&k=5eiA4DH)
[

](https://jq.qq.com/?_wv=1027&k=5AxMKlC)
[

](https://jq.qq.com/?_wv=1027&k=51G72yr) 点击按钮入群。
\ No newline at end of file
\ No newline at end of file
ruoyi/src/main/java/com/ruoyi/common/utils/poi/ExcelUtil.java
View file @
aa23ef1e
...
@@ -174,7 +174,7 @@ public class ExcelUtil<T>
...
@@ -174,7 +174,7 @@ public class ExcelUtil<T>
for
(
int
i
=
0
;
i
<
heard
.
getPhysicalNumberOfCells
();
i
++)
for
(
int
i
=
0
;
i
<
heard
.
getPhysicalNumberOfCells
();
i
++)
{
{
Cell
cell
=
heard
.
getCell
(
i
);
Cell
cell
=
heard
.
getCell
(
i
);
if
(
StringUtils
.
isNotNull
(
cell
!=
null
))
if
(
StringUtils
.
isNotNull
(
cell
))
{
{
String
value
=
this
.
getCellValue
(
heard
,
i
).
toString
();
String
value
=
this
.
getCellValue
(
heard
,
i
).
toString
();
cellMap
.
put
(
value
,
i
);
cellMap
.
put
(
value
,
i
);
...
@@ -827,7 +827,7 @@ public class ExcelUtil<T>
...
@@ -827,7 +827,7 @@ public class ExcelUtil<T>
try
try
{
{
Cell
cell
=
row
.
getCell
(
column
);
Cell
cell
=
row
.
getCell
(
column
);
if
(
cell
!=
null
)
if
(
StringUtils
.
isNotNull
(
cell
)
)
{
{
if
(
cell
.
getCellTypeEnum
()
==
CellType
.
NUMERIC
||
cell
.
getCellTypeEnum
()
==
CellType
.
FORMULA
)
if
(
cell
.
getCellTypeEnum
()
==
CellType
.
NUMERIC
||
cell
.
getCellTypeEnum
()
==
CellType
.
FORMULA
)
{
{
...
...
Write
Preview
Markdown
is supported
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