Commit d68b7dfa by liuyang

2024-10-19 生产驾驶舱接口调整

parent b0cd033b
......@@ -266,14 +266,10 @@ public class ServiceHPBI003 extends ServiceBase {
List<Map> result = new ArrayList<>();
for (Object key: mapList.keySet()) {
Map<Object, Object> map = new HashMap<>();
List<Map> list1 = new ArrayList<>();
map.put("product", key);
for (Map map1: mapList.get(key)) {
Map<String, Object> map2 = new HashMap<>();
map2.put("series", map1.get("series"));
map2.put("wt", map1.get("wt"));
list1.add(map2);
map.put(map1.get("series"), map1.get("wt"));
}
map.put(key, list1);
result.add(map);
}
inInfo.set("result", result);
......@@ -331,6 +327,7 @@ public class ServiceHPBI003 extends ServiceBase {
map.put(key, list1);
result.add(map);
}
inInfo.set("date", mapList.keySet());
inInfo.set("result", result);
return inInfo;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment