mirror of
https://gitee.com/hzchunfen/erp.git
synced 2025-11-30 22:20:45 +00:00
feat: #10000 订单库存同步错误修改
This commit is contained in:
parent
f24c62fc8c
commit
161afade3d
@ -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();
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user