Commit 2699dc5a authored by hujun's avatar hujun

反签

parent 22d0d3b5
...@@ -993,12 +993,8 @@ class OrderLogService ...@@ -993,12 +993,8 @@ class OrderLogService
/** /**
* 1盘方,2客方,3反签,4独家,5合作方 * 1盘方,2客方,3反签,4独家,5合作方
* *
* @param $bargain_id * @param $order_id
* @param string $field
* @return array * @return array
* @throws \think\db\exception\DataNotFoundException
* @throws \think\db\exception\ModelNotFoundException
* @throws \think\exception\DbException
*/ */
public function searchBargainAllAgents($order_id) { public function searchBargainAllAgents($order_id) {
$orderModel = new OrderModel(); $orderModel = new OrderModel();
...@@ -1060,10 +1056,10 @@ class OrderLogService ...@@ -1060,10 +1056,10 @@ class OrderLogService
$report_data = $reportModel->getAgentByOrderId($field, $params); $report_data = $reportModel->getAgentByOrderId($field, $params);
//反签 //反签
if (isset($report_data['id'])) { if (isset($report_data[0]['id'])) {
$list[$key]['id'] = $report_data['id']; $list[$key]['id'] = $report_data[0]['id'];
$list[$key]['phone'] = $report_data['phone']; $list[$key]['phone'] = $report_data[0]['phone'];
$list[$key]['name'] = $report_data['name']; $list[$key]['name'] = $report_data[0]['name'];
$list[$key]['role'] = 3; $list[$key]['role'] = 3;
$list[$key]['role_name'] = '反签'; $list[$key]['role_name'] = '反签';
} }
......
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 to comment