From 5899ff8fd0f31eeafb03710dc3016057f20f9538 Mon Sep 17 00:00:00 2001 From: PigBaoBei <2739175034@qq.com> Date: Fri, 31 May 2024 18:04:07 +0800 Subject: [PATCH] =?UTF-8?q?=E8=87=AA=E6=8F=90=E8=AE=A2=E5=88=B6=E5=93=81?= =?UTF-8?q?=E7=AD=BE=E6=94=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../impl/DistrilbutionBillLadingServiceImpl.java | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/blade-service/logpm-distribution/src/main/java/com/logpm/distribution/service/impl/DistrilbutionBillLadingServiceImpl.java b/blade-service/logpm-distribution/src/main/java/com/logpm/distribution/service/impl/DistrilbutionBillLadingServiceImpl.java index bed8fcfd7..88d09150d 100644 --- a/blade-service/logpm-distribution/src/main/java/com/logpm/distribution/service/impl/DistrilbutionBillLadingServiceImpl.java +++ b/blade-service/logpm-distribution/src/main/java/com/logpm/distribution/service/impl/DistrilbutionBillLadingServiceImpl.java @@ -1160,7 +1160,7 @@ public class DistrilbutionBillLadingServiceImpl extends BaseServiceImpl !OrderPackageStatusConstant.yiruku.getValue().equals(p.getOrderPackageStatus()))) { + if (distributionParcelListEntities.stream().allMatch(p -> !OrderPackageStatusConstant.yiruku.getValue().equals(p.getOrderPackageStatus()))) { String collect = distributionParcelListEntities.stream().filter(p -> !OrderPackageStatusConstant.yiruku.getValue().equals(p.getOrderPackageStatus())).map(DistributionParcelListEntity::getOrderPackageCode).collect(Collectors.joining(",")); log.error(method + "自提签收包件失败,不在库包件进行签收orderPackageCode:{}", collect); return R.fail("当前勾选存在包件不在库,请核对和进行操作"); @@ -1176,6 +1176,11 @@ public class DistrilbutionBillLadingServiceImpl extends BaseServiceImplquery().lambda() + .eq(DistributionBillLadingScanEntity::getBillLadingId,distrilbutionBillLading.getId()) + ); return R.success("操作成功"); } @@ -1376,6 +1381,9 @@ public class DistrilbutionBillLadingServiceImpl extends BaseServiceImpl