|
@@ -138,13 +138,8 @@ public class ImportITPHelp {
|
|
|
node = getNewNode("checkpoint", checkpoint, excelHelp);
|
|
|
node.setLevel("3");
|
|
|
|
|
|
- if(ObjectUtil.isNull(excelBO.getBig())) { //大构建不存在
|
|
|
- node.setPid(excelBO.getSmall().getId());
|
|
|
- node.setPath(excelBO.getSmall().getPath().concat(",").concat(excelBO.getSmall().getId()));
|
|
|
- } else {
|
|
|
- node.setPid(excelBO.getBig().getId());
|
|
|
- node.setPath(excelBO.getBig().getPath().concat(",").concat(excelBO.getBig().getId()));
|
|
|
- }
|
|
|
+ node.setPid(excelBO.getSmall().getId());
|
|
|
+ node.setPath(excelBO.getSmall().getPath().concat(",").concat(excelBO.getSmall().getId()));
|
|
|
|
|
|
final String inspectionType = excelBO.getNodeBO().getInspectionType();
|
|
|
node.setInspectiontype(excelHelp.getInspectionTypeMap().get(inspectionType));
|