Commit 15c657e9 by 朱继来

调整调价信息表

parent e6c56b19
Showing with 3 additions and 3 deletions
......@@ -787,7 +787,7 @@ Class OrderController extends Controller
$order_id = $request->input('order_id');
// 调价失败临时表状态更改
$order_temp = DB::connection('order')->table('lie_order_temp_info')->where(['order_id' => $order_id])->update(['status' => -1]);
$order_temp = DB::connection('order')->table('lie_order_extend')->where(['order_id' => $order_id])->update(['status' => -1]);
if (!$order_temp) {
return array('errcode'=>-1, 'errmsg'=>'驳回失败');
......@@ -874,8 +874,8 @@ Class OrderController extends Controller
if ($update) {
// 调价失败临时表状态更改
DB::connection('order')->table('lie_order_temp_info')->where(['order_id' => $id])->update(['status' => 0]);
DB::connection('order')->table('lie_order_extend')->where(['order_id' => $id])->update(['status' => 0]);
return redirect('/change/'.$id);
} else {
return redirect('/prompt')->with(['message'=>"调价操作更新数据失败!",'url' =>'/details/'.$id, 'jumpTime'=>3,'status'=>false]);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment