| | |
| | | String repairMttcrStr = com.zt.core.shiro.ImportUtil.getCellValue(row, 18, pattern); //mttcr |
| | | String repairMttcrOtherParams2Str = com.zt.core.shiro.ImportUtil.getCellValue(row, 19, pattern); //mttcr其他参数2 |
| | | String repairMttcrOtherParams3Str = com.zt.core.shiro.ImportUtil.getCellValue(row, 20, pattern); //mttcr其他参数3 |
| | | String negligibleRepairTimeStr = com.zt.core.shiro.ImportUtil.getCellValue(row, 21, pattern); //可忽略的维修时间 |
| | | |
| | | Integer sameSbNum = StringUtils.isNotBlank(sameSbNumStr) ? Integer.parseInt(sameSbNumStr) : 1; |
| | | Double basicMtbfRegulate = StringUtils.isNotBlank(basicMtbfRegulateStr) ? Double.valueOf(basicMtbfRegulateStr) : null; |
| | |
| | | Double repairMttcr = StringUtils.isNotBlank(repairMttcrStr) ? Double.parseDouble(repairMttcrStr) : null; |
| | | Double repairMttcrOtherParams2 = StringUtils.isNotBlank(repairMttcrOtherParams2Str) ? Double.parseDouble(repairMttcrOtherParams2Str) : null; |
| | | Double repairMttcrOtherParams3 = StringUtils.isNotBlank(repairMttcrOtherParams3Str) ? Double.parseDouble(repairMttcrOtherParams3Str) : null; |
| | | Double negligibleRepairTime = StringUtils.isNotBlank(negligibleRepairTimeStr) ? Double.parseDouble(negligibleRepairTimeStr) : null; |
| | | |
| | | |
| | | if (StringUtils.isBlank(sb)) |
| | |
| | | itemEntity.setRepairMttcr(repairMttcr); |
| | | itemEntity.setRepairMttcrOtherParams2(repairMttcrOtherParams2); |
| | | itemEntity.setRepairMttcrOtherParams3(repairMttcrOtherParams3); |
| | | itemEntity.setNegligibleRepairTime(negligibleRepairTime); |
| | | |
| | | if (modelMap.get(sbPath) == null) { |
| | | paramDataService.insert(itemEntity); |