更新
This commit is contained in:
parent
dd61153132
commit
4cba57d32c
@ -73,6 +73,7 @@ class StoreProcessing extends BaseController
|
|||||||
$arr[$key]['order_id'] = $order_id;
|
$arr[$key]['order_id'] = $order_id;
|
||||||
$arr[$key]['source'] = 104;
|
$arr[$key]['source'] = 104;
|
||||||
unset($arr[$key]['order_product_id']);
|
unset($arr[$key]['order_product_id']);
|
||||||
|
Db::name('store_product')->where('product_id',$value['product_id'])->dec('stock');
|
||||||
}
|
}
|
||||||
// $financialRecordRepository->insertAll($finance);
|
// $financialRecordRepository->insertAll($finance);
|
||||||
Db::name('store_order_product_other')->insertAll($arr);
|
Db::name('store_order_product_other')->insertAll($arr);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user