Просмотр исходного кода

概览不是JSONArray的不过滤信息点

menglu 3 лет назад
Родитель
Сommit
2e15ea093d

+ 7 - 1
ibms-data-sdk/src/main/java/com/persagy/ibms/data/sdk/util/RWDRepositoryUtil.java

@@ -418,7 +418,13 @@ public class RWDRepositoryUtil {
 				if (SceneCode.equals("sbzwy")) {
 					continue;
 				}
-				log.warn("scan " + SceneCode + "\t" + Path);
+				if (equipType.static_array == null) {
+					log.warn("scan " + SceneCode + "\t" + Path + "\t" + "nothing to do");
+					continue;
+				} else {
+					log.warn("scan " + SceneCode + "\t" + Path);
+
+				}
 				for (SceneObject soEquipType : equipType.static_array) {
 					SceneProperty spName = null;
 					SceneProperty spList = null;