|
|
@ -1735,6 +1735,7 @@ public class DistrilbutionBillLadingServiceImpl extends BaseServiceImpl<Distrilb |
|
|
|
inventory.getRecords().forEach(i -> { |
|
|
|
inventory.getRecords().forEach(i -> { |
|
|
|
List<DisStockListDetailEntity> listed = disStockListDetailService.list(Wrappers.<DisStockListDetailEntity>query().lambda() |
|
|
|
List<DisStockListDetailEntity> listed = disStockListDetailService.list(Wrappers.<DisStockListDetailEntity>query().lambda() |
|
|
|
.eq(DisStockListDetailEntity::getReservationId, i.getId()) |
|
|
|
.eq(DisStockListDetailEntity::getReservationId, i.getId()) |
|
|
|
|
|
|
|
.eq(DisStockListDetailEntity::getStockListId, i.getStockListId()) |
|
|
|
.ne(DisStockListDetailEntity::getStockPackageStatus, ReservationPackageStatusConstant.quxiao.getValue()) |
|
|
|
.ne(DisStockListDetailEntity::getStockPackageStatus, ReservationPackageStatusConstant.quxiao.getValue()) |
|
|
|
); |
|
|
|
); |
|
|
|
if (Func.isNotEmpty(listed)){ |
|
|
|
if (Func.isNotEmpty(listed)){ |
|
|
@ -1808,7 +1809,7 @@ public class DistrilbutionBillLadingServiceImpl extends BaseServiceImpl<Distrilb |
|
|
|
distributionBillLadingScan.setScanType(1); |
|
|
|
distributionBillLadingScan.setScanType(1); |
|
|
|
//扫描
|
|
|
|
//扫描
|
|
|
|
if ("1".equals(type)) { |
|
|
|
if ("1".equals(type)) { |
|
|
|
//库存品
|
|
|
|
//查询该自提单存在几种品类的库存品
|
|
|
|
List<DistrilbutionBillLadingInventoryAppVO> inventoryAppVO = distributionDeliveryDetailsService.listCode(String.valueOf(billLadingId), String.valueOf(coding)); |
|
|
|
List<DistrilbutionBillLadingInventoryAppVO> inventoryAppVO = distributionDeliveryDetailsService.listCode(String.valueOf(billLadingId), String.valueOf(coding)); |
|
|
|
if (ObjectUtils.isNotNull(inventoryAppVO)) { |
|
|
|
if (ObjectUtils.isNotNull(inventoryAppVO)) { |
|
|
|
List<Long> stocklistIds = inventoryAppVO.stream().map(DistrilbutionBillLadingInventoryAppVO::getStockListId).collect(Collectors.toList()); |
|
|
|
List<Long> stocklistIds = inventoryAppVO.stream().map(DistrilbutionBillLadingInventoryAppVO::getStockListId).collect(Collectors.toList()); |
|
|
|