diff --git a/ruoyi-system/src/main/java/com/ruoyi/system/service/impl/TRecordServiceImpl.java b/ruoyi-system/src/main/java/com/ruoyi/system/service/impl/TRecordServiceImpl.java index 3e42c5d..efc0890 100644 --- a/ruoyi-system/src/main/java/com/ruoyi/system/service/impl/TRecordServiceImpl.java +++ b/ruoyi-system/src/main/java/com/ruoyi/system/service/impl/TRecordServiceImpl.java @@ -163,9 +163,9 @@ public class TRecordServiceImpl implements ITRecordService String key1 = jsonKeyList.get(1); String key2 = jsonKeyList.get(2); result.forEach(jsonObject -> { - shezhiList.add(jsonObject.getJSONObject("data").getJSONObject("shezhi").getJSONObject(keys0[0]).getInteger(keys0[1])); - shetaiList.add(jsonObject.getJSONObject("data").getJSONObject("shetai").getInteger(key1)); - shexiaList.add(jsonObject.getJSONObject("data").getJSONObject("shexia").getInteger(key2)); + shezhiList.add(jsonObject.getJSONObject("shezhi").getJSONObject(keys0[0]).getInteger(keys0[1])); + shetaiList.add(jsonObject.getJSONObject("shetai").getInteger(key1)); + shexiaList.add(jsonObject.getJSONObject("shexia").getInteger(key2)); }); recordHistoryDataResp.setShezhiList(shezhiList); recordHistoryDataResp.setShetaiList(shetaiList);