Explorar el Código

同步节点的层级

huangtf hace 6 días
padre
commit
b050a77da9

+ 1 - 1
blade-service/blade-manager/src/main/java/org/springblade/manager/service/impl/ArchiveTreeContractSyncImpl.java

@@ -480,7 +480,7 @@ public class ArchiveTreeContractSyncImpl {
         Map<Long,Long> archiveTreeContractIdMap = new LinkedHashMap<>();
 
         for (ArchiveTreeContract node : associatedNodes) {
-            Integer nodeLevel = Integer.valueOf(associatedNodes.get(0).getDisplayHierarchy());
+            Integer nodeLevel = Integer.valueOf(node.getDisplayHierarchy());
 
             log.info("同步文件  syncNode"+ nodeLevel + " " + node.getId() + " " +  node.getNodeName());
             if (nodeLevel == 0) {