From 63ee2bce87106888a14d24deb9ad178994146ff1 Mon Sep 17 00:00:00 2001 From: "pref_mail@163.com" Date: Thu, 30 May 2024 15:27:28 +0800 Subject: [PATCH 1/2] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E6=8B=86=E5=8C=85?= =?UTF-8?q?=E6=95=B0=E9=87=8F=E5=BC=82=E5=B8=B8=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../DistributionStockArticleServiceImpl.java | 5 ++++- .../DistributionStockListServiceImpl.java | 20 ++++++++++++++++--- 2 files changed, 21 insertions(+), 4 deletions(-) diff --git a/blade-service/logpm-distribution/src/main/java/com/logpm/distribution/service/impl/DistributionStockArticleServiceImpl.java b/blade-service/logpm-distribution/src/main/java/com/logpm/distribution/service/impl/DistributionStockArticleServiceImpl.java index 12491f8c4..12c95a71c 100644 --- a/blade-service/logpm-distribution/src/main/java/com/logpm/distribution/service/impl/DistributionStockArticleServiceImpl.java +++ b/blade-service/logpm-distribution/src/main/java/com/logpm/distribution/service/impl/DistributionStockArticleServiceImpl.java @@ -1977,8 +1977,11 @@ public class DistributionStockArticleServiceImpl extends BaseServiceImpl Date: Thu, 30 May 2024 16:16:22 +0800 Subject: [PATCH 2/2] =?UTF-8?q?=E8=AE=A1=E5=88=92=E9=85=8D=E9=80=81?= =?UTF-8?q?=E5=A2=9E=E5=8A=A0=E6=97=A5=E5=BF=97=E3=80=81PDA=E5=A4=87?= =?UTF-8?q?=E8=B4=A7=E5=88=97=E8=A1=A8=E5=AE=A2=E6=88=B7=E9=87=8D=E5=A4=8D?= =?UTF-8?q?BUG=E4=BF=AE=E5=A4=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../common/constant/WorkNodeEnums.java | 1 + .../DistributionDeliveryListController.java | 2 +- .../mapper/DistributionStockupMapper.xml | 5 + .../service/IDistributionAsyncService.java | 6 + .../impl/DistributionAsyncServiceImpl.java | 48 +++++- .../DistributionDeliveryListServiceImpl.java | 2 +- .../DistributionReservationServiceImpl.java | 162 ++++++------------ .../impl/DistributionSignforServiceImpl.java | 132 +++++--------- 8 files changed, 150 insertions(+), 208 deletions(-) diff --git a/blade-biz-common/src/main/java/org/springblade/common/constant/WorkNodeEnums.java b/blade-biz-common/src/main/java/org/springblade/common/constant/WorkNodeEnums.java index 3d3156794..d26ffc027 100644 --- a/blade-biz-common/src/main/java/org/springblade/common/constant/WorkNodeEnums.java +++ b/blade-biz-common/src/main/java/org/springblade/common/constant/WorkNodeEnums.java @@ -43,6 +43,7 @@ public enum WorkNodeEnums implements Serializable { CANCEL_DELIVERY(262, "计划取消"), PLAN_BILLOFLADING(263, "计划自提"), CANCEL_BILLOFLADING(264, "取消自提"), + PLAN_DISTRIBUTION(265, "计划配车"), DISTRIBUTION_LOADING(270, "配送装车"), DISTRIBUTION_ABNORMAL_LOADING(271, "异常装车"), DISTRIBUTION_CANCEL_LOADING(272, "取消装车"), diff --git a/blade-service/logpm-distribution/src/main/java/com/logpm/distribution/controller/DistributionDeliveryListController.java b/blade-service/logpm-distribution/src/main/java/com/logpm/distribution/controller/DistributionDeliveryListController.java index 4d27b918a..dee2731af 100644 --- a/blade-service/logpm-distribution/src/main/java/com/logpm/distribution/controller/DistributionDeliveryListController.java +++ b/blade-service/logpm-distribution/src/main/java/com/logpm/distribution/controller/DistributionDeliveryListController.java @@ -519,7 +519,7 @@ public class DistributionDeliveryListController extends BladeController { @PostMapping("/deliveryZeroPackage") @ApiOperationSupport(order = 2) - @ApiOperation(value = "PC签收包件") + @ApiOperation(value = "PC签收计划零担") public R deliveryZeroPackage(@Valid @RequestBody DistrilbutionAppsignforDTO distrilbutionloadingscanDTO) { R r = distributionSignforService.signforZeroPC(distrilbutionloadingscanDTO); return r; diff --git a/blade-service/logpm-distribution/src/main/java/com/logpm/distribution/mapper/DistributionStockupMapper.xml b/blade-service/logpm-distribution/src/main/java/com/logpm/distribution/mapper/DistributionStockupMapper.xml index 4036796a8..52dee271c 100644 --- a/blade-service/logpm-distribution/src/main/java/com/logpm/distribution/mapper/DistributionStockupMapper.xml +++ b/blade-service/logpm-distribution/src/main/java/com/logpm/distribution/mapper/DistributionStockupMapper.xml @@ -513,6 +513,8 @@ and lds.assign_status = 20 and lds.forklift_id = #{param.userId} + GROUP BY + lds.id UNION SELECT DISTINCT lds.id, @@ -602,6 +604,8 @@ and lds.assign_status = 20 and lds.forklift_id = #{param.userId} + GROUP BY + lds.id ) t @@ -823,6 +827,7 @@ lds.id = #{param.stockupId} +