Browse Source

mxg:处理检查异常报错

mengxiangge 6 năm trước cách đây
mục cha
commit
48c7567814
1 tập tin đã thay đổi với 1 bổ sung0 xóa
  1. 1 0
      MBI/SAGA.MBI/ToolsData/CheckDuplicationBIMId.cs

+ 1 - 0
MBI/SAGA.MBI/ToolsData/CheckDuplicationBIMId.cs

@@ -42,6 +42,7 @@ namespace SAGA.MBI.ToolsData
             {
                 string buildingId = buildingItem.Item.Id;
                 var groups=(Check(buildingId));
+                if (groups == null) continue;
                 Correct(groups);
             }
         }