diff --git a/blade-service/logpm-distribution/src/main/java/com/logpm/distribution/mapper/DistrilbutionBillLadingMapper.xml b/blade-service/logpm-distribution/src/main/java/com/logpm/distribution/mapper/DistrilbutionBillLadingMapper.xml index a4dd0aee2..5f9727d8b 100644 --- a/blade-service/logpm-distribution/src/main/java/com/logpm/distribution/mapper/DistrilbutionBillLadingMapper.xml +++ b/blade-service/logpm-distribution/src/main/java/com/logpm/distribution/mapper/DistrilbutionBillLadingMapper.xml @@ -41,6 +41,7 @@ t.customerName, t.customerTelephone, t.waybillNumber, + t.brand, 3 AS typeService, t.warehouseEntryTime, t.storageFee, @@ -107,7 +108,8 @@ IF(k.customerTelephone is not null, k.customerTelephone, m.customerTelephone) AS customerTelephone, CONCAT_WS( ',', k.waybillNumber ) AS waybillNumber, k.warehouse_entry_time AS warehouseEntryTime, - k.storage_fee AS storageFee + k.storage_fee AS storageFee, + k.brand FROM ( SELECT diff --git a/blade-service/logpm-distribution/src/main/java/com/logpm/distribution/service/impl/DistrilbutionBillLadingServiceImpl.java b/blade-service/logpm-distribution/src/main/java/com/logpm/distribution/service/impl/DistrilbutionBillLadingServiceImpl.java index 2d7f265a2..76e67a810 100644 --- a/blade-service/logpm-distribution/src/main/java/com/logpm/distribution/service/impl/DistrilbutionBillLadingServiceImpl.java +++ b/blade-service/logpm-distribution/src/main/java/com/logpm/distribution/service/impl/DistrilbutionBillLadingServiceImpl.java @@ -2558,22 +2558,11 @@ public class DistrilbutionBillLadingServiceImpl extends BaseServiceImpl warehouseList = basicdataWarehouseClient.getMyWarehouseList(); - BasicdataWarehouseEntity myCurrentWarehouse = basicdataWarehouseClient.getMyCurrentWarehouse(); + IPage distrilbutionBillLadingVOIPage = null; - List collect = null; + List collect = basicdataWarehouseClient.getWarehouseIds(); - IPage distrilbutionBillLadingVOIPage = null; - if (Func.isNotEmpty(myCurrentWarehouse)) { - collect = new ArrayList<>(); - collect.add(myCurrentWarehouse.getId()); - } else { -// distrilbutionBillLadingVOIPage = baseMapper.getAllBillLadingByView(page, distrilbutionBillLadingDTO, collect); - collect = warehouseList.stream() - .map(BasicdataWarehouseEntity::getId) - .collect(Collectors.toList()); - } distrilbutionBillLadingVOIPage = baseMapper.pageList(page, distrilbutionBillLadingDTO, collect);