|
|
|
@ -2357,14 +2357,14 @@ public class DistrilbutionBillLadingServiceImpl extends BaseServiceImpl<Distrilb
|
|
|
|
|
if (Func.isNotEmpty(myCurrentWarehouse)) { |
|
|
|
|
collect = new ArrayList<>(); |
|
|
|
|
collect.add(myCurrentWarehouse.getId()); |
|
|
|
|
distrilbutionBillLadingVOIPage = baseMapper.pageList(page, distrilbutionBillLadingDTO, collect); |
|
|
|
|
|
|
|
|
|
} else { |
|
|
|
|
distrilbutionBillLadingVOIPage = baseMapper.getAllBillLadingByView(page, distrilbutionBillLadingDTO, collect); |
|
|
|
|
// distrilbutionBillLadingVOIPage = baseMapper.getAllBillLadingByView(page, distrilbutionBillLadingDTO, collect);
|
|
|
|
|
collect = warehouseList.stream() |
|
|
|
|
.map(BasicdataWarehouseEntity::getId) |
|
|
|
|
.collect(Collectors.toList()); |
|
|
|
|
} |
|
|
|
|
distrilbutionBillLadingVOIPage = baseMapper.pageList(page, distrilbutionBillLadingDTO, collect); |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
List<DistrilbutionBillLadingVO> records = distrilbutionBillLadingVOIPage.getRecords(); |
|
|
|
|