This commit is contained in:
mkm 2024-01-23 17:57:04 +08:00
parent a1c0c8e36d
commit c5b11642ec

View File

@ -73,6 +73,7 @@ class StoreProcessing extends BaseController
$arr[$key]['order_id'] = $order_id;
$arr[$key]['source'] = 104;
unset($arr[$key]['order_product_id']);
Db::name('store_product')->where('product_id',$value['product_id'])->dec('stock');
}
// $financialRecordRepository->insertAll($finance);
Db::name('store_order_product_other')->insertAll($arr);