Commit f127c67f by guojx

合计名称赋予

parent 14841f6c
...@@ -159,6 +159,10 @@ public class DataController { ...@@ -159,6 +159,10 @@ public class DataController {
List<JSONObject> list = DataApiUtils.getDataList(res); List<JSONObject> list = DataApiUtils.getDataList(res);
if (list == null) { if (list == null) {
list = new ArrayList<>(); list = new ArrayList<>();
} else {
if (list.size() > 0) {
list.get(0).put("mbrType", "合计");
}
} }
jsonParam.put("groupType", 2); jsonParam.put("groupType", 2);
res = DataApiUtils.http(jsonParam.toJSONString(), apolloKey); res = DataApiUtils.http(jsonParam.toJSONString(), apolloKey);
......
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