Commit 10d194ea authored by clone's avatar clone

bug

parent 997756ac
...@@ -373,12 +373,12 @@ class OrderLogService ...@@ -373,12 +373,12 @@ class OrderLogService
$v["step"] = "报备【" . $v['house_title'] . "】"; $v["step"] = "报备【" . $v['house_title'] . "】";
$result[$sort++] = $v; $result[$sort++] = $v;
$order_ids .= $v["order_id"] . ","; $order_ids .= $v["order_id"] . ",";
$order_ids = rtrim($order_ids, ","); $order_ids = rtrim($order_ids, ",");
$report_ids .= $v["id"] . ","; $report_ids .= $v["id"] . ",";
} }
$report_ids = rtrim($report_ids, ","); $report_ids = rtrim($report_ids, ",");
$orderParams["order_id"] = array( "in", $order_ids ); $orderParams["order_id"] = array( "in", $order_ids );
$orderParams["house_title"] = array( "like", "%" . trim($search) . "%" ); $orderParams["house_title"] = array( "like", "%" . trim($search) . "%" );
...@@ -405,7 +405,8 @@ class OrderLogService ...@@ -405,7 +405,8 @@ class OrderLogService
$v["step_name"] = "follow_up_log"; $v["step_name"] = "follow_up_log";
$v["step"] = "跟进"; $v["step"] = "跟进";
$v = $this->convertFollowUp($v); $v = $this->convertFollowUp($v);
$v["explain_img"] = CHAT_IMG_URL . $v["explain_img"]; $v["img_path"] = CHAT_IMG_URL;
$v["explain_img"] = $v["explain_img"];
$result[$sort++] = $v; $result[$sort++] = $v;
} }
} }
...@@ -717,9 +718,9 @@ class OrderLogService ...@@ -717,9 +718,9 @@ class OrderLogService
switch ($type) {//1盘方,2客方,3反签,4独家,5合作方 switch ($type) {//1盘方,2客方,3反签,4独家,5合作方
case 1: case 1:
$params["a.houses_id"] = $result[0]["house_id"]; $params["a.houses_id"] = $result[0]["house_id"];
$params["a.type"] = 2; $params["a.type"] = 2;
$params["b.status"] = 0; $params["b.status"] = 0;
$list = $houseAgents->getAgentsByHouseId($field, $params); $list = $houseAgents->getAgentsByHouseId($field, $params);
break; break;
case 2: case 2:
$userModel = new Users(); $userModel = new Users();
...@@ -735,9 +736,9 @@ class OrderLogService ...@@ -735,9 +736,9 @@ class OrderLogService
break; break;
case 4: case 4:
$params["a.houses_id"] = $result[0]["house_id"]; $params["a.houses_id"] = $result[0]["house_id"];
$params["a.type"] = 3; $params["a.type"] = 3;
$params["b.status"] = 0; $params["b.status"] = 0;
$list = $houseAgents->getAgentsByHouseId($field, $params); $list = $houseAgents->getAgentsByHouseId($field, $params);
break; break;
case 5: case 5:
return null; return null;
......
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