From d7eda377a257a18bca0429d3fae2a71d4160565b Mon Sep 17 00:00:00 2001
From: YYC <1833023622@qq.com>
Date: 星期五, 03 一月 2025 14:07:56 +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