diff --git a/blade-service/logpm-warehouse/src/main/java/com/logpm/warehouse/service/impl/WarehouseUpdownStockupAreaServiceImpl.java b/blade-service/logpm-warehouse/src/main/java/com/logpm/warehouse/service/impl/WarehouseUpdownStockupAreaServiceImpl.java index 66e3f0ffa..1ed0de94d 100644 --- a/blade-service/logpm-warehouse/src/main/java/com/logpm/warehouse/service/impl/WarehouseUpdownStockupAreaServiceImpl.java +++ b/blade-service/logpm-warehouse/src/main/java/com/logpm/warehouse/service/impl/WarehouseUpdownStockupAreaServiceImpl.java @@ -102,6 +102,7 @@ public class WarehouseUpdownStockupAreaServiceImpl extends BaseServiceImpl list = this.list(Wrappers.query().lambda() + .eq(WarehouseUpdownStockupAreaEntity::getAllocationId, stockUpAllocationId) + ); + if (list.isEmpty()){ + basicdataGoodsAllocationClient.updateAllocationStatus(Long.parseLong(stockUpAllocationId),"1"); + } } }