diff --git a/app/Listeners/CombinationGoodsStockUpdateListener.php b/app/Listeners/CombinationGoodsStockUpdateListener.php index c09746b..e49f575 100644 --- a/app/Listeners/CombinationGoodsStockUpdateListener.php +++ b/app/Listeners/CombinationGoodsStockUpdateListener.php @@ -83,6 +83,7 @@ class CombinationGoodsStockUpdateListener } } if ($updateIds) { + $updateIds = array_unique($updateIds); event(new StockUpdateEvent($updateIds, 1, true)); } }