This commit is contained in:
mkm 2024-01-23 17:57:04 +08:00
parent dd61153132
commit 4cba57d32c

View File

@ -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);