Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
T
tagManager
Overview
Overview
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
lanmw
tagManager
Commits
41d4114a
Commit
41d4114a
authored
May 08, 2020
by
zhangkb
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修复系统excel导出问题
parent
34de2e50
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
6 deletions
+6
-6
SysInfo.java
...n/java/com/keymobile/tagmanager/model/system/SysInfo.java
+5
-5
ExcelParserService.java
.../com/keymobile/tagmanager/service/ExcelParserService.java
+1
-1
No files found.
src/main/java/com/keymobile/tagmanager/model/system/SysInfo.java
View file @
41d4114a
...
...
@@ -43,7 +43,7 @@ public class SysInfo implements Serializable, IExcelModel, IExcelDataModel{
@Excel
(
name
=
"IP地址"
,
orderNum
=
"14"
,
width
=
30
)
private
String
ip
;
@Excel
(
name
=
"系统访问地址"
,
orderNum
=
"15"
,
width
=
30
)
private
String
URL
;
private
String
url
;
@Excel
(
name
=
"用户代表"
,
orderNum
=
"16"
,
width
=
30
)
private
String
contact
;
@Excel
(
name
=
"用户代表员工号"
,
orderNum
=
"17"
,
width
=
30
)
...
...
@@ -359,11 +359,11 @@ public class SysInfo implements Serializable, IExcelModel, IExcelDataModel{
public
void
setSystemIntroduction
(
String
systemIntroduction
)
{
this
.
systemIntroduction
=
systemIntroduction
;
}
public
String
getU
RL
()
{
return
URL
;
public
String
getU
rl
()
{
return
url
;
}
public
void
setURL
(
String
u
RL
)
{
URL
=
uRL
;
public
void
setURL
(
String
u
rl
)
{
this
.
url
=
url
;
}
public
String
getIp
()
{
return
ip
;
...
...
src/main/java/com/keymobile/tagmanager/service/ExcelParserService.java
View file @
41d4114a
...
...
@@ -332,7 +332,7 @@ public class ExcelParserService {
contentCellIndex
++;
row
.
createCell
(
contentCellIndex
).
setCellValue
(
sysInfo
.
getIp
());
contentCellIndex
++;
row
.
createCell
(
contentCellIndex
).
setCellValue
(
sysInfo
.
getU
RL
());
row
.
createCell
(
contentCellIndex
).
setCellValue
(
sysInfo
.
getU
rl
());
contentCellIndex
++;
row
.
createCell
(
contentCellIndex
).
setCellValue
(
sysInfo
.
getContact
());
contentCellIndex
++;
...
...
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