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 c1b55e95c..13f078554 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
@@ -144,6 +144,9 @@
and dbl.certificate_type =
#{param.certificateType}
+ and dbl.warehouse_id =
+ #{param.warehouseId}
+
GROUP BY dbl.id,dsa.warehouse,dsa.type_service
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 ed5ce8062..60ca6dada 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
@@ -1427,7 +1427,12 @@ public class DistrilbutionBillLadingServiceImpl extends BaseServiceImpl collect = myWatchWarehouse.stream()
.map(BasicdataWarehouseEntity::getId)
.collect(Collectors.toList());
+ BasicdataWarehouseEntity myCurrentWarehouse = basicdataWarehouseClient.getMyCurrentWarehouse();
distrilbutionBillLadingDTO.setWarehouseIdList(collect);
+ if (Func.isNotEmpty(myWatchWarehouse)){
+ distrilbutionBillLadingDTO.setWarehouseIdList(null);
+ distrilbutionBillLadingDTO.setWarehouseId(myCurrentWarehouse.getId());
+ }
IPage distrilbutionBillLadingVOIPage = baseMapper.pageList(page, distrilbutionBillLadingDTO);
List records = distrilbutionBillLadingVOIPage.getRecords();
records.forEach(i -> {