$flag = DB::table(‘crm_member_mny‘)->where(‘mid‘, $mid)
->update(array(
‘available_mny‘ => DB::raw("available_mny - $input_money_rmb"),
‘total_mny‘ => DB::raw("total_mny - $input_money_rmb"),
));
原文地址:https://blog.51cto.com/3154408/2465572
时间: 2024-10-17 02:57:39