2 Commits ca1a680365 ... df25dcb369

Author SHA1 Message Date
  huangtf df25dcb369 Merge branch 'master' of http://39.108.216.210:3000/zhuwei/bladex 8 months ago
  huangtf 03a5b9d5a4 增加保护 8 months ago

+ 1 - 1
blade-service/blade-archive/src/main/java/org/springblade/archive/utils/ArchiveTreeUtil.java

@@ -49,7 +49,7 @@ public class ArchiveTreeUtil {
                 if (subTree.getChildren() == null || subTree.getChildren().size() == 0) {
                     continue;
                 }
-                if (subTree.getChildren().get(0).getExtType() == 2) {
+                if (subTree.getChildren().get(0).getExtType() != null && subTree.getChildren().get(0).getExtType() == 2) {
                     for (ArchiveTreeContractVO2 contractNode : subTree.getChildren()) {
                         subTreeList.add(contractNode);
                     }