提交 6344ea51 authored 作者: 马晨俊's avatar 马晨俊

mcj:

修复excel返回值错误问题
上级 50add18d
......@@ -45,7 +45,6 @@ public enum ApplicationType {
private Integer code;
private String name;
private Integer other;
ApplicationType() {
}
......
......@@ -351,7 +351,7 @@ public class ExcelUtil {
String safe = getExcelCell(90, 2, sheetAt);
database1.setSafe(yesOrNo(safe));
String performance = getExcelCell(91, 2, sheetAt);
if (!"无".equals(performance)) {
if (!"".equals(performance) && !"无".equals(performance)) {
database1.setPerformance(1);
}
reform.setDatabase(database1);
......@@ -399,9 +399,6 @@ public class ExcelUtil {
case "在线视频播放类:请在备注中填写插件名和版本":
browser.setMedia(1);
break;
default:
browser.setOtherDemand(1);
break;
}
browserPlugs.add(browserPlug);
}
......@@ -412,7 +409,7 @@ public class ExcelUtil {
if (!"".equals(apply)) {
apply1.setCost(Double.valueOf(apply));
}
String remark = getExcelCell(110, 3, sheetAt);
String remark = getExcelCell(110, 4, sheetAt);
apply1.setReason(remark);
reform.setApply(apply1);
SystemStructure systemStructure = new SystemStructure();
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论