Commit 51bce884 by hcy001

1

parent 73ff9ad8
Showing with 2 additions and 2 deletions
......@@ -724,9 +724,9 @@ class QuoteModel extends Model
$info = $QuoteModel->select("inquiry_items_id")->where("id",$quote_id)->first()->toArray();
$inquiry_items_id = $info["inquiry_items_id"];
#更新询价明细表状态
$InquiryItemsModel->where("id",$inquiry_items_id)->update(["status"=>1, 'update_time'=>time()]); #更新报价待报价
$InquiryItemsModel->where("id",$inquiry_items_id)->update(["status"=>2, 'update_time'=>time()]); #更新报价待报价
#更新
$QuoteModel->where("inquiry_items_id",$inquiry_items_id)->update(["status"=>2, 'update_time'=>time()]); #重启其他所有状态为 已报价
$QuoteModel->where("inquiry_items_id",$inquiry_items_id)->update(["status"=>1, 'update_time'=>time()]); #重启其他所有状态为 已报价
$data = [];
$data['types'] = 1;
......
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