Browse Source

滞留PC详情Bug修复

training
汤建军 11 months ago
parent
commit
bf903b450e
  1. 2
      blade-service/logpm-warehouse/src/main/java/com/logpm/warehouse/service/impl/WarehouseRetentionRecordServiceImpl.java

2
blade-service/logpm-warehouse/src/main/java/com/logpm/warehouse/service/impl/WarehouseRetentionRecordServiceImpl.java

@ -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)){

Loading…
Cancel
Save