From c12b57bc12e88379e6ac7cb8c04b25a7c3a03ae1 Mon Sep 17 00:00:00 2001 From: zhenghaoyu Date: Tue, 19 Sep 2023 17:02:22 +0800 Subject: [PATCH 1/3] =?UTF-8?q?1.=E4=BB=A3=E7=A0=81=E8=BF=98=E5=8E=9F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../java/com/logpm/basicdata/feign/IBasicdataCarrierClient.java | 2 -- 1 file changed, 2 deletions(-) diff --git a/blade-service-api/logpm-basicdata-api/src/main/java/com/logpm/basicdata/feign/IBasicdataCarrierClient.java b/blade-service-api/logpm-basicdata-api/src/main/java/com/logpm/basicdata/feign/IBasicdataCarrierClient.java index 546b5426b..f0c418717 100644 --- a/blade-service-api/logpm-basicdata-api/src/main/java/com/logpm/basicdata/feign/IBasicdataCarrierClient.java +++ b/blade-service-api/logpm-basicdata-api/src/main/java/com/logpm/basicdata/feign/IBasicdataCarrierClient.java @@ -46,6 +46,4 @@ public interface IBasicdataCarrierClient { */ @GetMapping(TOP) BladePage top(@RequestParam("current") Integer current, @RequestParam("size") Integer size); - @GetMapping(API_PREFIX + "/getCarrierById") - BasicdataCarrierEntity getCarrierById(@RequestParam("current") Long carrierId); } From e9e46d3aa4113f026be35f1cd449c7b98b7b6077 Mon Sep 17 00:00:00 2001 From: kilo Date: Tue, 19 Sep 2023 17:55:14 +0800 Subject: [PATCH 2/3] =?UTF-8?q?=E5=95=86=E9=85=8D=E9=85=8D=E9=80=81?= =?UTF-8?q?=E8=AE=A1=E5=88=92=E8=B0=83=E6=95=B4=E7=BB=B4=E5=BA=A6=E4=B8=BA?= =?UTF-8?q?=E8=AE=A2=E5=8D=95=E6=94=B6=E8=B4=A7=E5=8D=95=E4=BD=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../DistributionAddvalueAppController.java | 5 +- .../DistributionDeliveryListMapper.java | 8 +++ .../mapper/DistributionDeliveryListMapper.xml | 60 +++++++++++++++++++ .../mapper/DistributionReservationMapper.java | 4 +- .../mapper/DistributionReservationMapper.xml | 13 ++-- .../impl/DistributionAddvalueServiceImpl.java | 7 ++- .../impl/DistributionAsyncServiceImpl.java | 10 +++- .../DistributionDeliveryInfoServiceImpl.java | 1 + .../DistributionDeliveryListServiceImpl.java | 10 ++-- .../DistributionReservationServiceImpl.java | 4 +- .../impl/DistributionSignforServiceImpl.java | 17 ++++-- 11 files changed, 113 insertions(+), 26 deletions(-) diff --git a/blade-service/logpm-distribution/src/main/java/com/logpm/distribution/appcontroller/DistributionAddvalueAppController.java b/blade-service/logpm-distribution/src/main/java/com/logpm/distribution/appcontroller/DistributionAddvalueAppController.java index b7992e159..524dd03bc 100644 --- a/blade-service/logpm-distribution/src/main/java/com/logpm/distribution/appcontroller/DistributionAddvalueAppController.java +++ b/blade-service/logpm-distribution/src/main/java/com/logpm/distribution/appcontroller/DistributionAddvalueAppController.java @@ -78,9 +78,10 @@ public class DistributionAddvalueAppController { @PostMapping("/getAllPackageList") @ApiOperationSupport(order = 3) @ApiOperation(value = "查询该客户下的所有配送包件信息", notes = "DistributionAppDeliveryListDTO") - public List getAllPackageList(@Valid @RequestBody DistributionAppAddvalueDTO distributionAppAddvalueDTO) { + public R getAllPackageList(@Valid @RequestBody DistributionAppAddvalueDTO distributionAppAddvalueDTO) { List allPackageList = distributionAddvalueService.getAllPackageList(distributionAppAddvalueDTO); - return allPackageList; + + return R.data(200,allPackageList,"成功"); } /** diff --git a/blade-service/logpm-distribution/src/main/java/com/logpm/distribution/mapper/DistributionDeliveryListMapper.java b/blade-service/logpm-distribution/src/main/java/com/logpm/distribution/mapper/DistributionDeliveryListMapper.java index 9fdc8d3a9..69f826328 100644 --- a/blade-service/logpm-distribution/src/main/java/com/logpm/distribution/mapper/DistributionDeliveryListMapper.java +++ b/blade-service/logpm-distribution/src/main/java/com/logpm/distribution/mapper/DistributionDeliveryListMapper.java @@ -369,4 +369,12 @@ public interface DistributionDeliveryListMapper extends BaseMapper getInventoryByDeliveryId(IPage page,@Param("deliveryListId") Long deliveryId); + + /** + * 查询该配送计划下指定收货单位的预约信息 + * @param deliveryListEntityId + * @param k + * @return + */ + DistributionReservationEntity selectReservationByDeliveryListIdAndCustomerUnit(@Param("deliveryListId")Long deliveryListEntityId,@Param("receivingUnit") String k); } diff --git a/blade-service/logpm-distribution/src/main/java/com/logpm/distribution/mapper/DistributionDeliveryListMapper.xml b/blade-service/logpm-distribution/src/main/java/com/logpm/distribution/mapper/DistributionDeliveryListMapper.xml index 2e1b9c011..5b0108ab2 100644 --- a/blade-service/logpm-distribution/src/main/java/com/logpm/distribution/mapper/DistributionDeliveryListMapper.xml +++ b/blade-service/logpm-distribution/src/main/java/com/logpm/distribution/mapper/DistributionDeliveryListMapper.xml @@ -1347,5 +1347,65 @@ + diff --git a/blade-service/logpm-distribution/src/main/java/com/logpm/distribution/mapper/DistributionReservationMapper.java b/blade-service/logpm-distribution/src/main/java/com/logpm/distribution/mapper/DistributionReservationMapper.java index 5ec47eef3..460a435e6 100644 --- a/blade-service/logpm-distribution/src/main/java/com/logpm/distribution/mapper/DistributionReservationMapper.java +++ b/blade-service/logpm-distribution/src/main/java/com/logpm/distribution/mapper/DistributionReservationMapper.java @@ -173,14 +173,14 @@ public interface DistributionReservationMapper extends BaseMapper selectAppInventoryListByReservation(@Param("reservationId") Long reservationId,List packageListIds); + List selectAppInventoryListByReservation(@Param("reservationId") Long reservationId); /** * 查询客户下的包件信息 * @param reservationId * @return */ - List selectAppPackageListByReservationId(@Param("reservationId")Long reservationId,List packageListIds); + List selectAppPackageListByReservationId(@Param("reservationId")Long reservationId); /** * 查询出客户下的库存品订单维度信息 diff --git a/blade-service/logpm-distribution/src/main/java/com/logpm/distribution/mapper/DistributionReservationMapper.xml b/blade-service/logpm-distribution/src/main/java/com/logpm/distribution/mapper/DistributionReservationMapper.xml index 77e843735..f779ca5cd 100644 --- a/blade-service/logpm-distribution/src/main/java/com/logpm/distribution/mapper/DistributionReservationMapper.xml +++ b/blade-service/logpm-distribution/src/main/java/com/logpm/distribution/mapper/DistributionReservationMapper.xml @@ -322,6 +322,7 @@ ldr.is_urgent, ldr.reservation_stock_list_num, ldr.waybill_no, + ldr.receiving_unit, ldr.waybill_id FROM logpm_distribution_delivery_list AS lddl @@ -722,10 +723,7 @@ INNER JOIN logpm_dis_stock_list_detail AS ldsld ON ldr.id = ldsld.reservation_id INNER JOIN logpm_distribution_stock_list AS ldsl ON ldsl.id = ldsld.stock_list_id WHERE - ldr.id = #{reservationId} and ldsld.stock_package_status in ('1','3') and ldsld.id not in - - #{id} - + ldr.id = #{reservationId} and ldsld.stock_package_status in ('1','3')