From 7461520ce42bb22f3ef8ee9d97d26bf0e9215d1e Mon Sep 17 00:00:00 2001 From: YYC <1833023622@qq.com> Date: 星期二, 07 一月 2025 17:18:34 +0800 Subject: [PATCH] 数据调整 --- src/main/java/com/fzzy/otherview/gd2022/pr/GDApi9201PR.java | 5 +++++ 1 files changed, 5 insertions(+), 0 deletions(-) diff --git a/src/main/java/com/fzzy/otherview/gd2022/pr/GDApi9201PR.java b/src/main/java/com/fzzy/otherview/gd2022/pr/GDApi9201PR.java index db47498..37504ed 100644 --- a/src/main/java/com/fzzy/otherview/gd2022/pr/GDApi9201PR.java +++ b/src/main/java/com/fzzy/otherview/gd2022/pr/GDApi9201PR.java @@ -110,6 +110,11 @@ org.springframework.data.domain.Page<Api9201> japPage = api9201Rep.findAll(specification, pageable); page.setEntityCount((int) japPage.getTotalElements()); + for (Api9201 api9201 : japPage.getContent()) { + api9201.setDtls(JSONArray.parseArray(api9201.getDtl(), Gd2022Api1023Dtl.class)); + api9201.setPeoples(JSONArray.parseArray(api9201.getPeople(), Gd2022Api1023People.class)); + api9201.setWays(JSONArray.parseArray(api9201.getWay(), Gd2022Api1023Way.class)); + } page.setEntities(japPage.getContent()); } -- Gitblit v1.9.3