diff --git a/app/Events/BusinessOrdersUpdate.php b/app/Events/BusinessOrdersUpdate.php index e19e304..816b3c2 100644 --- a/app/Events/BusinessOrdersUpdate.php +++ b/app/Events/BusinessOrdersUpdate.php @@ -48,9 +48,6 @@ class BusinessOrdersUpdate } if ($this->goodsSku) { $this->goodsSku->stock += $this->num; - if ($this->goodsSku->stock <= 0) { - $this->goodsSku->status = 0; - } $this->goodsSku->save(); } }