From eab8ea1cd432ed95fc983483d325ba74c50408b2 Mon Sep 17 00:00:00 2001
From: YYC <1833023622@qq.com>
Date: 星期二, 25 二月 2025 11:57:04 +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