| | |
| | | StructureTree root = getRootNode(partId); |
| | | //通过产品结构查工序 |
| | | Map<Long, Integer> cache = new HashMap<>(80); |
| | | |
| | | getStructureByPartId(root, partId, cache, version, alternativeNo, bomType, bomLayers); |
| | | return root; |
| | | } |
| | |
| | | if (bomLayers == 999) { |
| | | getStructureByPartId(child, component.getPartId(), cache, "ALL", "ALL", bomType, bomLayers); |
| | | // 判断到第几层了,制造类型为1-已制造,计划方法为P-虚拟件 |
| | | } else if (bomLayers > 0 && (part.getMaterialType().equals("1") && !part.getPlanningMethod().equals( |
| | | } else if (bomLayers > 0 && (part.getMaterialType().equals("1") && part.getPlanningMethod().equals( |
| | | "A"))) { |
| | | getStructureByPartId(child, component.getPartId(), cache, "ALL", "ALL", bomType, bomLayers); |
| | | } |