Commit 41d4114a by zhangkb

修复系统excel导出问题

parent 34de2e50
...@@ -43,7 +43,7 @@ public class SysInfo implements Serializable, IExcelModel, IExcelDataModel{ ...@@ -43,7 +43,7 @@ public class SysInfo implements Serializable, IExcelModel, IExcelDataModel{
@Excel(name = "IP地址", orderNum = "14", width=30) @Excel(name = "IP地址", orderNum = "14", width=30)
private String ip; private String ip;
@Excel(name = "系统访问地址", orderNum = "15", width=30) @Excel(name = "系统访问地址", orderNum = "15", width=30)
private String URL; private String url;
@Excel(name = "用户代表", orderNum = "16", width=30) @Excel(name = "用户代表", orderNum = "16", width=30)
private String contact; private String contact;
@Excel(name = "用户代表员工号", orderNum = "17", width=30) @Excel(name = "用户代表员工号", orderNum = "17", width=30)
...@@ -359,11 +359,11 @@ public class SysInfo implements Serializable, IExcelModel, IExcelDataModel{ ...@@ -359,11 +359,11 @@ public class SysInfo implements Serializable, IExcelModel, IExcelDataModel{
public void setSystemIntroduction(String systemIntroduction) { public void setSystemIntroduction(String systemIntroduction) {
this.systemIntroduction = systemIntroduction; this.systemIntroduction = systemIntroduction;
} }
public String getURL() { public String getUrl() {
return URL; return url;
} }
public void setURL(String uRL) { public void setURL(String url) {
URL = uRL; this.url = url;
} }
public String getIp() { public String getIp() {
return ip; return ip;
......
...@@ -332,7 +332,7 @@ public class ExcelParserService { ...@@ -332,7 +332,7 @@ public class ExcelParserService {
contentCellIndex++; contentCellIndex++;
row.createCell(contentCellIndex).setCellValue(sysInfo.getIp()); row.createCell(contentCellIndex).setCellValue(sysInfo.getIp());
contentCellIndex++; contentCellIndex++;
row.createCell(contentCellIndex).setCellValue(sysInfo.getURL()); row.createCell(contentCellIndex).setCellValue(sysInfo.getUrl());
contentCellIndex++; contentCellIndex++;
row.createCell(contentCellIndex).setCellValue(sysInfo.getContact()); row.createCell(contentCellIndex).setCellValue(sysInfo.getContact());
contentCellIndex++; contentCellIndex++;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment