2 Commits c1f9873b0d ... 3ff415f39b

Auteur SHA1 Message Date
  huangtf 3ff415f39b Merge branch 'master' of http://39.108.216.210:3000/zhuwei/bladex il y a 1 semaine
  huangtf b050a77da9 同步节点的层级 il y a 1 semaine

+ 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) {