From b6df20eaad225dbe0195e67b74affcb6b13f79f3 Mon Sep 17 00:00:00 2001 From: "pref_mail@163.com" Date: Thu, 28 Dec 2023 12:38:24 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E7=BA=BF=E4=B8=8A=E5=B1=9E?= =?UTF-8?q?=E6=80=A7=E6=B2=A1=E6=9C=89=E6=B3=A8=E5=85=A5=E7=9A=84=E9=97=AE?= =?UTF-8?q?=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../DistributionReservationServiceImpl.java | 41 +++++++++++++------ 1 file changed, 28 insertions(+), 13 deletions(-) diff --git a/blade-service/logpm-distribution/src/main/java/com/logpm/distribution/service/impl/DistributionReservationServiceImpl.java b/blade-service/logpm-distribution/src/main/java/com/logpm/distribution/service/impl/DistributionReservationServiceImpl.java index 945ba11f2..c6258750d 100644 --- a/blade-service/logpm-distribution/src/main/java/com/logpm/distribution/service/impl/DistributionReservationServiceImpl.java +++ b/blade-service/logpm-distribution/src/main/java/com/logpm/distribution/service/impl/DistributionReservationServiceImpl.java @@ -175,8 +175,7 @@ public class DistributionReservationServiceImpl extends BaseServiceImpl selectDistrbutionReservationPage(IPage page, DistributionReservationVO distrbutionReservation) { return page.setRecords(baseMapper.selectDistrbutionReservationPage(page, distrbutionReservation)); @@ -400,9 +401,20 @@ public class DistributionReservationServiceImpl extends BaseServiceImpl reservationVOList = null; if (Func.isNotEmpty(myCurrentWarehouse)) { List longs = Func.toLongList(ids); List reservationEntityList = this.listByIds(longs); reservationVOList = DistributionReservationWrapper.build().listVO(reservationEntityList); - BasicdataWarehouseEntity entityWarehouseId = warehouseClient.getEntityWarehouseId(reservationVOList.get(0).getWarehouseId()); + BasicdataWarehouseEntity entityWarehouseId = basicdataWarehouseClient.getEntityWarehouseId(reservationVOList.get(0).getWarehouseId()); if (Func.isNotEmpty(entityWarehouseId)) { reservationVOList.stream().forEach(r -> { r.setJingdu(entityWarehouseId.getLongitude()); @@ -1089,7 +1101,7 @@ public class DistributionReservationServiceImpl extends BaseServiceImpl