This commit is contained in:
luofei 2024-01-23 17:59:27 +08:00
commit 5ffbd92f1b

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