From e27f9b00f9433a2d1970f3936c2ddeaf26bb54a7 Mon Sep 17 00:00:00 2001 From: PigBaoBei <2739175034@qq.com> Date: Thu, 20 Jun 2024 16:39:50 +0800 Subject: [PATCH] =?UTF-8?q?=E7=AD=BE=E6=94=B6PDA=E5=AE=A2=E6=88=B7?= =?UTF-8?q?=E4=BF=A1=E6=81=AF=E8=B0=83=E6=95=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../DistributionDeliveryListController.java | 4 ++-- .../mapper/DistributionSignforMapper.xml | 1 + .../IDistributionDeliveryListService.java | 2 +- .../DistributionDeliveryListServiceImpl.java | 20 ++++--------------- 4 files changed, 8 insertions(+), 19 deletions(-) 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 8b848b7f0..5ff2508e2 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 @@ -423,8 +423,8 @@ public class DistributionDeliveryListController extends BladeController { @GetMapping("/judgmentOrderRemove") @ApiOperationSupport(order = 2) @ApiOperation(value = "判断是否可以在商配计划中移除", notes = "customArgs") - public R judgmentOrderRemove(@RequestParam Long deliveryId,@RequestParam Long orderId) { - boolean result = distributionDeliveryListService.judgmentOrderRemove(deliveryId,orderId); + public R judgmentOrderRemove(@RequestParam Long deliveryId,@RequestParam String orderIds) { + boolean result = distributionDeliveryListService.judgmentOrderRemove(deliveryId,orderIds); return R.data(result); } diff --git a/blade-service/logpm-distribution/src/main/java/com/logpm/distribution/mapper/DistributionSignforMapper.xml b/blade-service/logpm-distribution/src/main/java/com/logpm/distribution/mapper/DistributionSignforMapper.xml index 8eb6112b0..9084228b8 100644 --- a/blade-service/logpm-distribution/src/main/java/com/logpm/distribution/mapper/DistributionSignforMapper.xml +++ b/blade-service/logpm-distribution/src/main/java/com/logpm/distribution/mapper/DistributionSignforMapper.xml @@ -733,6 +733,7 @@ logpm_distribution_signfor lds JOIN logpm_distribution_reservation ldr ON ldr.id = lds.reservation_id WHERE lds.is_deleted = 0 AND lds.delivery_id = #{id} + GROUP BY lds.reservation_id