diff --git a/blade-service/logpm-distribution/src/main/java/com/logpm/distribution/appcontroller/DistributionStockupAppController.java b/blade-service/logpm-distribution/src/main/java/com/logpm/distribution/appcontroller/DistributionStockupAppController.java index 63655901f..1a81e4b25 100644 --- a/blade-service/logpm-distribution/src/main/java/com/logpm/distribution/appcontroller/DistributionStockupAppController.java +++ b/blade-service/logpm-distribution/src/main/java/com/logpm/distribution/appcontroller/DistributionStockupAppController.java @@ -460,11 +460,11 @@ public class DistributionStockupAppController extends BladeController { log.warn("############备货库存品ID为空:{}",stockupDTO.getDeliveryDetailsId()); return R.fail(3002, "备货库存品ID不能为空"); } - List list = distributionStockupService.getLocationSelection(stockupDTO); + List list = distributionStockupService.getLocationSelection(stockupDTO); //自提 if(!list.isEmpty() && ObjectUtils.isNotNull(list.get(0))){ return R.data(list); } - List listMarket = distributionStockupService.getLocationMarketSelection(stockupDTO); + List listMarket = distributionStockupService.getLocationMarketSelection(stockupDTO); //商配 if(!listMarket.isEmpty() && ObjectUtils.isNotNull(listMarket.get(0))){ return R.data(listMarket); } diff --git a/blade-service/logpm-distribution/src/main/java/com/logpm/distribution/controller/DistributionParcelNumberController.java b/blade-service/logpm-distribution/src/main/java/com/logpm/distribution/controller/DistributionParcelNumberController.java index 0473bb7a0..e9327ce85 100644 --- a/blade-service/logpm-distribution/src/main/java/com/logpm/distribution/controller/DistributionParcelNumberController.java +++ b/blade-service/logpm-distribution/src/main/java/com/logpm/distribution/controller/DistributionParcelNumberController.java @@ -114,11 +114,11 @@ public class DistributionParcelNumberController extends BladeController { } /** - * 零担订单录入在库数量 + * 零担订单修改录入在库数量 */ @PostMapping("/updateEntryNum") @ApiOperationSupport(order = 4) - @ApiOperation(value = "新增", notes = "传入distributionParcelNumber") + @ApiOperation(value = "修改", notes = "传入distributionParcelNumber") public R updateEntryNum(@Valid @RequestBody List distributionParcelNumberDTO) { return distributionParcelNumberService.updateEntryNum(distributionParcelNumberDTO); } diff --git a/blade-service/logpm-distribution/src/main/java/com/logpm/distribution/mapper/DistributionParcelListMapper.xml b/blade-service/logpm-distribution/src/main/java/com/logpm/distribution/mapper/DistributionParcelListMapper.xml index fa7a0dc9c..6b24dd88a 100644 --- a/blade-service/logpm-distribution/src/main/java/com/logpm/distribution/mapper/DistributionParcelListMapper.xml +++ b/blade-service/logpm-distribution/src/main/java/com/logpm/distribution/mapper/DistributionParcelListMapper.xml @@ -174,7 +174,7 @@ LEFT JOIN logpm_distribution_stock lds on lds.parcel_list_id = ldpl.id - + ldpl.conditions = '1' and lds.allocation_id = #{param.allocationId} and ldpl.stock_article_id = #{param.stockArticleId} @@ -227,7 +227,7 @@ LEFT JOIN logpm_distribution_parcel_list ldpl on ldbs.stock_article_id =ldpl.stock_article_id LEFT JOIN logpm_distribution_stock lds on ldpl.id = lds.parcel_list_id and lds.stockup_id = ldsi.stockup_id - ldsi.stockup_id = #{id} + ldsi.stockup_id = #{id} and ldpl.conditions = '1' and ldpl.order_package_code is not null diff --git a/blade-service/logpm-distribution/src/main/java/com/logpm/distribution/mapper/DistributionStockupMapper.java b/blade-service/logpm-distribution/src/main/java/com/logpm/distribution/mapper/DistributionStockupMapper.java index bcc24016f..61329e821 100644 --- a/blade-service/logpm-distribution/src/main/java/com/logpm/distribution/mapper/DistributionStockupMapper.java +++ b/blade-service/logpm-distribution/src/main/java/com/logpm/distribution/mapper/DistributionStockupMapper.java @@ -188,7 +188,7 @@ public interface DistributionStockupMapper extends BaseMapper stockupOffShelf(@Param("param")StockupDTO stockupDTO); /** - * + * 自提 * @param stockupDTO * @return */ 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 747e1bfb2..8f796cb38 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 @@ -778,7 +778,7 @@ and ldsi.is_deleted = 0