更新
This commit is contained in:
parent
31b4169b45
commit
64ed1355bc
@ -2352,7 +2352,7 @@ class ProductRepository extends BaseRepository
|
|||||||
$stockIn=1;
|
$stockIn=1;
|
||||||
}
|
}
|
||||||
ProductAttrValue::where('mer_id', $merId)
|
ProductAttrValue::where('mer_id', $merId)
|
||||||
->where('product_id', $params['product_id'])
|
->where('product_id', $product['product_id'])
|
||||||
->update(['stock'=>$attrValue->stock + $stockIn]);
|
->update(['stock'=>$attrValue->stock + $stockIn]);
|
||||||
$data = [
|
$data = [
|
||||||
'order_id' => $params['order_id'] ?? 0,
|
'order_id' => $params['order_id'] ?? 0,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user