Ver código fonte

全部编组带来问题,修复

menglu 3 anos atrás
pai
commit
18a81e9be7

+ 4 - 0
ibms-data-sdk/src/main/java/com/persagy/ibms/data/sdk/util/RWDDownloadUtil.java

@@ -553,6 +553,10 @@ public class RWDDownloadUtil {
 					String post_result = HttpClientUtil.post(Constant.zkt_monitor_url + "/logicalObject/listPage", criteria.toJSONString());
 					JSONObject resultJSON = JSON.parseObject(post_result);
 					JSONArray Content = resultJSON.getJSONArray("Content");
+					for (int i = 0; i < Content.size(); i++) {
+						JSONObject ContentItem = (JSONObject) Content.get(i);
+						ContentItem.put("logicalGroupingId", logicalGroupingId);
+					}
 					infoArray.addAll(Content);
 				}
 				infoArray = infoArray == null ? new JSONArray() : infoArray;