From 55e9c8546d28b922a31e29ba66c9cc68ddf90a63 Mon Sep 17 00:00:00 2001 From: "pref_mail@163.com" Date: Fri, 10 May 2024 14:42:02 +0800 Subject: [PATCH] =?UTF-8?q?fix:=E5=A2=9E=E5=8A=A0=E5=A4=9A=E7=BA=BF?= =?UTF-8?q?=E7=A8=8B=E9=85=8D=E7=BD=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../AftersalesAbnormalPackageMapper.java | 2 +- .../AftersalesAbnormalPackageMapper.xml | 7 ++++- .../AftersalesAbnormalPackageServiceImpl.java | 15 +++++++--- .../factory/aspect/AsyncAnnotationAspect.java | 28 +++++++++++++++++++ .../logpm/factory/config/ExecutorConfig.java | 1 + 5 files changed, 47 insertions(+), 6 deletions(-) diff --git a/blade-service/logpm-aftersales/src/main/java/com/logpm/aftersales/mapper/AftersalesAbnormalPackageMapper.java b/blade-service/logpm-aftersales/src/main/java/com/logpm/aftersales/mapper/AftersalesAbnormalPackageMapper.java index edb40ccf2..b6900a0da 100644 --- a/blade-service/logpm-aftersales/src/main/java/com/logpm/aftersales/mapper/AftersalesAbnormalPackageMapper.java +++ b/blade-service/logpm-aftersales/src/main/java/com/logpm/aftersales/mapper/AftersalesAbnormalPackageMapper.java @@ -58,7 +58,7 @@ public interface AftersalesAbnormalPackageMapper extends BaseMapper getAbnormalPackage(@Param("param") AftersalesAbnormalPackageEntity aftersalesAbnormalPackageEntity); + List getAbnormalPackage(@Param("param") AftersalesAbnormalPackageEntity aftersalesAbnormalPackageEntity,@Param("warehouseIds")List warehouseIds); List getTrunklines(@Param("orderPackageCode") String orderPackageCode); List getDeliver(@Param("orderPackageCode") String orderPackageCode); diff --git a/blade-service/logpm-aftersales/src/main/java/com/logpm/aftersales/mapper/AftersalesAbnormalPackageMapper.xml b/blade-service/logpm-aftersales/src/main/java/com/logpm/aftersales/mapper/AftersalesAbnormalPackageMapper.xml index 246360ecf..665dcb7a2 100644 --- a/blade-service/logpm-aftersales/src/main/java/com/logpm/aftersales/mapper/AftersalesAbnormalPackageMapper.xml +++ b/blade-service/logpm-aftersales/src/main/java/com/logpm/aftersales/mapper/AftersalesAbnormalPackageMapper.xml @@ -49,7 +49,12 @@ ldpl. is_deleted = 0 and ldpl.order_package_code =#{param.packageCode } - and ldpl.warehouse_id =#{param.warehouseId } + + and ldpl.warehouse_id in + + #{id} + +