Commit 2671f149 authored by clone's avatar clone

bug

parent 74c6f727
...@@ -102,12 +102,12 @@ class HomePageLog extends Basic ...@@ -102,12 +102,12 @@ class HomePageLog extends Basic
} }
//$count = $this->uPhoneFollowUpModel->getSearchCount($join, $where_); $count = $this->uPhoneFollowUpModel->getSearchCount($join, $where_);
if (count($result) > 0) { if (count($result) > 0) {
$list["result"] = $result; $list["result"] = $result;
$list["img_path"] = AGENTHEADERIMGURL; $list["img_path"] = AGENTHEADERIMGURL;
//暂时处理 //暂时处理
$list["total"] = 0; $list["total"] = $count;
return $this->response("200", "request success", $list); return $this->response("200", "request success", $list);
} else { } else {
return $this->response("200", "request null"); return $this->response("200", "request null");
......
...@@ -715,20 +715,14 @@ class OBargainModel extends Model ...@@ -715,20 +715,14 @@ class OBargainModel extends Model
$field = "sum(practical_fee) as num"; $field = "sum(practical_fee) as num";
} elseif ($type == 3) { } elseif ($type == 3) {
$field = "count(1) as num"; $field = "count(1) as num";
//$where_["father_id"] = 0;
$where_["trade_type"] = 10;//产品要求统计数量必须是出租类型的180620 $where_["trade_type"] = 10;//产品要求统计数量必须是出租类型的180620
$where_["role"] = 3;//必须是反签方
} }
if (isset($params["agent_id"])) { if (isset($params["agent_id"])) {
$where_["agent_id"] = $params["agent_id"]; $where_["agent_id"] = $params["agent_id"];
} }
if (isset($params["agent_id"]) && $type == 3) {
unset($where_["agent_id"]);
$where_["submit_agent_id"] = $params["agent_id"];
$where_["father_id"] = 0;
}
if (isset($params["create_time"])) { if (isset($params["create_time"])) {
$where_["create_time"] = $params["create_time"]; $where_["create_time"] = $params["create_time"];
} }
......
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