Browse Source

itp报验点导入导出

wangming 3 months ago
parent
commit
e02821e593

+ 2 - 7
business-common/src/main/java/com/rongwei/bscommon/sys/utils/ImportITPHelp.java

@@ -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));