Commit 52af6f5a authored by hujun's avatar hujun

反签

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