Commit e68423b8 authored by clone's avatar clone

bug

parent 923b207b
...@@ -97,7 +97,7 @@ class HomePageLog extends Basic ...@@ -97,7 +97,7 @@ class HomePageLog extends Basic
public function houseFollowUpList() public function houseFollowUpList()
{ {
$params = $this->params; $params = $this->params;
/* $params = array( /* $params = array(
"start_time" => time(), //开始时间 "start_time" => time(), //开始时间
"end_time" => time() . " 23:59:59", //结束时间 "end_time" => time() . " 23:59:59", //结束时间
"name_or_phone" => "li",//用户姓名或电话 "name_or_phone" => "li",//用户姓名或电话
......
...@@ -117,11 +117,11 @@ class GHousesFollowUp extends Model ...@@ -117,11 +117,11 @@ class GHousesFollowUp extends Model
*/ */
public function getSearchCount( $join, $where) public function getSearchCount( $join, $where)
{ {
$data = $this->db_ $data = $this
->alias('f') ->alias('f')
->join($join) ->join($join)
->where($where) ->where($where)
->count(); ->count("f.id");
return $data; return $data;
} }
} }
\ No newline at end of file
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