提交 1e78462d authored 作者: 马晨俊's avatar 马晨俊

mcj:更新excel导入导出

上级 ce4daa69
...@@ -531,6 +531,10 @@ public class ExcelUtil { ...@@ -531,6 +531,10 @@ public class ExcelUtil {
browser.setBrowserPlugs(browserPlugs); browser.setBrowserPlugs(browserPlugs);
reform.setBrowser(browser); reform.setBrowser(browser);
String apply = getExcelCell(110, 2, sheetAt);
Apply apply1 = new Apply();
apply1.setCost(Double.valueOf(apply));
reform.setApply(apply1);
SystemStructure systemStructure = new SystemStructure(); SystemStructure systemStructure = new SystemStructure();
Details sysDetails = getSysDetails(113, 2, sheetAt); Details sysDetails = getSysDetails(113, 2, sheetAt);
...@@ -554,15 +558,15 @@ public class ExcelUtil { ...@@ -554,15 +558,15 @@ public class ExcelUtil {
reform.setSystemStructure(systemStructure); reform.setSystemStructure(systemStructure);
String rpo = getExcelCell(121, 2, sheetAt); String rpo = getExcelCell(121, 2, sheetAt);
RpoEnum rpoEnum = RpoEnum.getByName(rpo); RtoEnum rtoEnum = RtoEnum.getByName(rpo);
if (rpoEnum != null) {
reform.setRpo(rpoEnum.getCode());
}
String rto = getExcelCell(122, 2, sheetAt);
RtoEnum rtoEnum = RtoEnum.getByName(rto);
if (rtoEnum != null) { if (rtoEnum != null) {
reform.setRto(rtoEnum.getCode()); reform.setRto(rtoEnum.getCode());
} }
String rto = getExcelCell(122, 2, sheetAt);
RpoEnum rpoEnum = RpoEnum.getByName(rto);
if (rpoEnum != null) {
reform.setRpo(rpoEnum.getCode());
}
return reform; return reform;
} }
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论