feat: 修改产品库存创建方法
This commit is contained in:
parent
029df0e33d
commit
30a6a404c6
@ -125,7 +125,7 @@ class StoreStorageSend implements Consumer
|
|||||||
'sales' => 0,
|
'sales' => 0,
|
||||||
'stock' => 0,
|
'stock' => 0,
|
||||||
];
|
];
|
||||||
StoreBranchProduct::create($product);
|
StoreBranchProductExchange::create($product);
|
||||||
if ($product_arr['stock'] > 0) {
|
if ($product_arr['stock'] > 0) {
|
||||||
$this->storage($find, $store_id, $admin_id, $product_arr);
|
$this->storage($find, $store_id, $admin_id, $product_arr);
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user