diff --git a/mhd-modules/mhd-system/src/main/java/com/mhd/basic/domain/warehouse/service/WarehouseDomainService.java b/mhd-modules/mhd-system/src/main/java/com/mhd/basic/domain/warehouse/service/WarehouseDomainService.java index aa2d571e6..4bd24e1f2 100644 --- a/mhd-modules/mhd-system/src/main/java/com/mhd/basic/domain/warehouse/service/WarehouseDomainService.java +++ b/mhd-modules/mhd-system/src/main/java/com/mhd/basic/domain/warehouse/service/WarehouseDomainService.java @@ -168,9 +168,11 @@ public class WarehouseDomainService { warehouseLinkagePO.setName(warehousePO.getWarehouseName()); StorageSectionDO storageSectionDO = new StorageSectionDO(); storageSectionDO.setWarehouseId(warehousePO.getWarehouseId()); + storageSectionDO.setNullify(1); List storageSectionPOList = storageSectionService.queryList(storageSectionDO); StorageLocationDO storageLocationDO = new StorageLocationDO(); storageLocationDO.setWarehouseId(warehousePO.getWarehouseId()); + storageLocationDO.setNullify(1); List storageLocationPOList = storageLocationService.queryList(storageLocationDO); //根据库区唯一标识进行分组 Map> storageLocationListMap = storageLocationPOList.stream().collect(Collectors.groupingBy(StorageLocationPO::getStorageCode));