Commit d699475a authored by hujun's avatar hujun

APP客下载方

parent a09244a8
...@@ -1017,10 +1017,13 @@ class OrderLogService ...@@ -1017,10 +1017,13 @@ class OrderLogService
} }
/** /**
* 1盘方,2客方,3反签,4独家,5合作 * 1盘方,2客方,3反签,4独家,5合作方(不返回),6APP盘下载方(不返回) 7APP客下载
* *
* @param $order_id * @param $order_id
* @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)
{ {
...@@ -1089,6 +1092,21 @@ class OrderLogService ...@@ -1089,6 +1092,21 @@ class OrderLogService
$list[$key]['name'] = $report_data[0]['name']; $list[$key]['name'] = $report_data[0]['name'];
$list[$key]['role'] = 3; $list[$key]['role'] = 3;
$list[$key]['role_name'] = '反签'; $list[$key]['role_name'] = '反签';
$key++;
}
$params["a.id"] = $result[0]["user_id"];
$params["a.referrer_source"] = 20;
$params["a.status"] = 0;
$params["b.status"] = 0;
$referrer = $userModel->getAgentByReferrer($field, $params);
if ($referrer[0]['id']) {
$list[$key]['id'] = $referrer[0]['id'];
$list[$key]['phone'] = $referrer[0]['phone'];
$list[$key]['name'] = $referrer[0]['name'];
$list[$key]['role'] = 7;
$list[$key]['role_name'] = 'APP客下载方';
} }
return $list; return $list;
......
...@@ -894,7 +894,7 @@ class Finance extends Basic ...@@ -894,7 +894,7 @@ class Finance extends Basic
/** /**
* 根据成交报告order_id查询经纪人 * 根据成交报告order_id查询经纪人
* 1盘方,2客方,3反签,4独家,5合作 * 1盘方,2客方,3反签,4独家,5合作方,6APP盘下载方,7APP客下载
* *
* @return \think\Response * @return \think\Response
*/ */
......
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