From 92e0f43ffc52b212163ce62dd222157495e837d1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=8E=8B=E5=A5=8E=E5=85=B4?= <2220574228@qq.com> Date: Thu, 11 Jun 2026 15:58:07 +0800 Subject: [PATCH] =?UTF-8?q?=E9=9D=9E=E9=80=9A=E5=AE=87=20=E4=BF=9D?= =?UTF-8?q?=E7=A8=8E=E4=BB=93=E5=85=A5=E5=8F=A3=E8=AE=A2=E5=8D=95=E6=8E=A8?= =?UTF-8?q?=E9=80=81;?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../service/ReservationStockInOrderApplicationService.java | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/mhd_oms/src/main/java/com/mhd/oms/domain/reservationStockInOrder/service/ReservationStockInOrderApplicationService.java b/mhd_oms/src/main/java/com/mhd/oms/domain/reservationStockInOrder/service/ReservationStockInOrderApplicationService.java index 160decf64..65a6d7d49 100644 --- a/mhd_oms/src/main/java/com/mhd/oms/domain/reservationStockInOrder/service/ReservationStockInOrderApplicationService.java +++ b/mhd_oms/src/main/java/com/mhd/oms/domain/reservationStockInOrder/service/ReservationStockInOrderApplicationService.java @@ -1998,11 +1998,13 @@ public class ReservationStockInOrderApplicationService { orderList.add(gwInDetail); } gwStockInOrder.setOrderList(orderList); + List list = new LinkedList<>(); + list.add(gwStockInOrder); GwLog gwLog = new GwLog(); gwLog.setType("保税仓-进口订单"); gwLog.setBusinessId(id); - gwLog.setRequestBody(com.alibaba.fastjson.JSONObject.toJSONString(gwStockInOrder)); + gwLog.setRequestBody(com.alibaba.fastjson.JSONObject.toJSONString(list)); gwLog.setResponseBody(""); gwLog.setStatus(1); gwLog.setSendTime(new Date()); @@ -2019,7 +2021,7 @@ public class ReservationStockInOrderApplicationService { CloseableHttpClient httpClient = HttpClients.createDefault(); HttpPost httpPost = new HttpPost(PUSH_API_URL); - StringEntity postingString = new StringEntity(com.alibaba.fastjson.JSONObject.toJSONString(gwStockInOrder), "UTF-8"); + StringEntity postingString = new StringEntity(com.alibaba.fastjson.JSONObject.toJSONString(list), "UTF-8"); httpPost.setEntity(postingString); httpPost.setHeader("Content-type", "application/json"); httpPost.setHeader("apiName", API_NAME);