From 7a988c17fe25f18815889ff5221a5ebcf01fabdc Mon Sep 17 00:00:00 2001
From: czt <czt18638530771@163.com>
Date: 星期一, 13 十月 2025 18:15:59 +0800
Subject: [PATCH] 武汉黄陂军粮-质检报告共享接口同步及推送3
---
src/main/java/com/fzzy/otherview/gd2022/pr/GDApi9201PR.java | 9 +++++++--
1 files changed, 7 insertions(+), 2 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..2c23f9c 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());
}
@@ -212,7 +217,7 @@
result += responseDto.toString();
if (responseDto.getSuccess() == 0) {
if (Constant.CZBZ_I.equals(d.getCzbz())) {
- api9201Rep.updateStatus(data.getDwdm(), Constant.CZBZ_U);
+ api9201Rep.updateStatus(data.getTbrq(), Constant.CZBZ_U);
}
}
}
@@ -240,7 +245,7 @@
for (Api9201 data : items) {
if (Constant.CZBZ_I.equals(data.getCzbz())) {
//鏇存柊鐘舵��
- api9201Rep.updateStatus(data.getDwdm(), Constant.CZBZ_U);
+ api9201Rep.updateStatus(data.getTbrq(), Constant.CZBZ_U);
}
}
}
--
Gitblit v1.9.3