From 937ea0d8ba94362d68d888208142c25d946ea94b Mon Sep 17 00:00:00 2001 From: PigBaoBei <2739175034@qq.com> Date: Fri, 27 Sep 2024 14:37:21 +0800 Subject: [PATCH] =?UTF-8?q?=E8=87=AA=E4=B8=BB=E5=9B=9E=E5=BA=93=E6=97=A5?= =?UTF-8?q?=E5=BF=97BUG,=E6=89=B9=E9=87=8F=E7=AD=BE=E6=94=B6=E8=AF=AD?= =?UTF-8?q?=E9=9F=B3,=E5=BC=82=E5=B8=B8=E7=8A=B6=E6=80=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../feign/IDistributionDeliveryListClient.java | 2 +- .../feign/DistributionDeliveryListClient.java | 4 ++-- .../service/IDistributionDeliveryListService.java | 2 +- .../impl/DistributionDeliveryInfoServiceImpl.java | 6 ++---- .../impl/DistributionDeliveryListServiceImpl.java | 11 +++++++---- .../service/impl/DistributionSignforServiceImpl.java | 11 +++++------ .../impl/WarehouseRetentionRecordServiceImpl.java | 3 ++- 7 files changed, 20 insertions(+), 19 deletions(-) diff --git a/blade-service-api/logpm-distribution-api/src/main/java/com/logpm/distribution/feign/IDistributionDeliveryListClient.java b/blade-service-api/logpm-distribution-api/src/main/java/com/logpm/distribution/feign/IDistributionDeliveryListClient.java index beade49db..cdd30a8a9 100644 --- a/blade-service-api/logpm-distribution-api/src/main/java/com/logpm/distribution/feign/IDistributionDeliveryListClient.java +++ b/blade-service-api/logpm-distribution-api/src/main/java/com/logpm/distribution/feign/IDistributionDeliveryListClient.java @@ -74,7 +74,7 @@ public interface IDistributionDeliveryListClient { * @return */ @GetMapping(TOP+"/retentionDeliveryReservationPackage") - boolean retentionDeliveryReservationPackage(@RequestParam("deliveryId")Long deliveryId,@RequestParam("reservationId") Long reservationId,@RequestParam("orderPackageId") Long orderPackageId,@RequestParam("conditions") Integer conditions); + boolean retentionDeliveryReservationPackage(@RequestParam("deliveryId")Long deliveryId,@RequestParam("reservationId") Long reservationId,@RequestParam("orderPackageId") Long orderPackageId,@RequestParam("conditions") Integer conditions,@RequestParam("retentionType") Integer retentionType); /** diff --git a/blade-service/logpm-distribution/src/main/java/com/logpm/distribution/feign/DistributionDeliveryListClient.java b/blade-service/logpm-distribution/src/main/java/com/logpm/distribution/feign/DistributionDeliveryListClient.java index 790cf3ba6..944c38b98 100644 --- a/blade-service/logpm-distribution/src/main/java/com/logpm/distribution/feign/DistributionDeliveryListClient.java +++ b/blade-service/logpm-distribution/src/main/java/com/logpm/distribution/feign/DistributionDeliveryListClient.java @@ -69,8 +69,8 @@ public class DistributionDeliveryListClient implements IDistributionDeliveryList } @Override - public boolean retentionDeliveryReservationPackage(Long deliveryId, Long reservationId, Long orderPackageId, Integer conditions) { - return distributionDeliveryListService.retentionDeliveryReservationPackage(deliveryId,reservationId,orderPackageId,conditions); + public boolean retentionDeliveryReservationPackage(Long deliveryId, Long reservationId, Long orderPackageId, Integer conditions, Integer retentionType) { + return distributionDeliveryListService.retentionDeliveryReservationPackage(deliveryId,reservationId,orderPackageId,conditions,retentionType); } @Override diff --git a/blade-service/logpm-distribution/src/main/java/com/logpm/distribution/service/IDistributionDeliveryListService.java b/blade-service/logpm-distribution/src/main/java/com/logpm/distribution/service/IDistributionDeliveryListService.java index 8de3123d0..0dfcb1dd7 100644 --- a/blade-service/logpm-distribution/src/main/java/com/logpm/distribution/service/IDistributionDeliveryListService.java +++ b/blade-service/logpm-distribution/src/main/java/com/logpm/distribution/service/IDistributionDeliveryListService.java @@ -364,7 +364,7 @@ public interface IDistributionDeliveryListService extends BaseService nodeFanoutMsg = buildNodeFanoutMsgByOneClick(distributionDeliveryListEntity, reservationEntity, distributionLoadscaninvnEntityLists, distributionLoadscanEntityLists); iDistributionNodeWorkService.signFor(nodeFanoutMsg, AuthUtil.getUser()); - return R.status(true); + return Resp.scanSuccess((distributionSignforEntity.getReceivedinQuantity()+distributionSignforEntity.getReceivedQuantity())+"件",(distributionSignforEntity.getReceivedinQuantity()+distributionSignforEntity.getReceivedQuantity())+"件"); } private DistributionDeliverySelfEntity getDriver(DistributionDeliveryListEntity distributionDeliveryListEntity, BladeUser user, Boolean isDriverFlag) { @@ -8385,7 +8385,7 @@ public class DistributionSignforServiceImpl extends BaseServiceImpl { p.setIsAbnormalLoading(1); if (p.getOrderPackageStatus().equals(OrderPackageStatusConstant.yiqianshou.getValue())) { - p.setIsAbnnormalSigning(1); + p.setIsScan("异常签收"); } }); distributionAppStockArticleVO.setDistributionAppParcelListVOS(distributionAppParcelListVOS); @@ -8434,15 +8434,14 @@ public class DistributionSignforServiceImpl extends BaseServiceImpl