|
|
|
@ -355,7 +355,7 @@ public class WarehouseRetentionRecordServiceImpl extends BaseServiceImpl<Warehou
|
|
|
|
|
} |
|
|
|
|
warehouseRetentionRecordVO.setRetentionScanVOList(warehouseRetentionScanVOS); |
|
|
|
|
//查询配送信息
|
|
|
|
|
List<Long> deliveryIds = warehouseRetentionScanVOS.stream().filter(del -> Func.isNotEmpty(del.getDeliveryId())).map(WarehouseRetentionScanVO::getDeliveryId).collect(Collectors.toList()); |
|
|
|
|
List<Long> deliveryIds = warehouseRetentionScanVOS.stream().filter(del -> Func.isNotEmpty(del.getDeliveryId())).map(WarehouseRetentionScanVO::getDeliveryId).distinct().collect(Collectors.toList()); |
|
|
|
|
if (deliveryIds.size() == 1){ |
|
|
|
|
DistributionDeliveryListVO deliveryDriverInfo = distributionDeliveryListClient.getRetentionDelivery(deliveryIds.get(0)); |
|
|
|
|
if (Func.isNotEmpty(deliveryDriverInfo)){ |
|
|
|
|