mirror of
http://192.168.1.205:9980/cf_devdept2/cf_imes_server.git
synced 2026-08-12 21:02:08 +08:00
1、装配清单部件列表增加orderIds的过滤影响;2、cad拆单部件层级异常累加修复;
This commit is contained in:
+1
-1
@@ -1824,7 +1824,7 @@ public class WebCadOrderImportAsyncFactory {
|
||||
reader.startArray();
|
||||
while (reader.hasNext()) {
|
||||
// 递归子节点
|
||||
processComponent(reader, componentId, topId, level); // 子节点在递归中生成组件DO
|
||||
processComponent(reader, componentId, topId, level + 1); // 子节点在递归中生成组件DO
|
||||
}
|
||||
reader.endArray();
|
||||
break;
|
||||
|
||||
+2
-2
@@ -579,9 +579,9 @@ public class WebCadOrderImportFactory {
|
||||
orderComponentDOS.add(componentDO);
|
||||
orderComponentBatchInsertWithinThreshold(orderComponentDOS, false);
|
||||
// 继续处理下级
|
||||
if (!componentGroupReqVO.getChildren().isEmpty()) {
|
||||
if (CollUtil.isNotEmpty(componentGroupReqVO.getChildren())) {
|
||||
for (WebCadDataComponentGroupReqVO children : componentGroupReqVO.getChildren()) {
|
||||
createAndCacheComponent(children, componentId, topId, ++level);
|
||||
createAndCacheComponent(children, componentId, topId, level + 1);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user