Commit b417796e authored by clone's avatar clone

bug

parent 76c7b635
...@@ -89,7 +89,8 @@ class GHousesFollowUp extends Model ...@@ -89,7 +89,8 @@ class GHousesFollowUp extends Model
*/ */
public function getSearch($p = 1, $pageSize = 15, $order_ = 'id desc', $field, $join, $where, $group) public function getSearch($p = 1, $pageSize = 15, $order_ = 'id desc', $field, $join, $where, $group)
{ {
$data = $this->db_->field($field) $data = $this->db_
->field($field)
->alias('f') ->alias('f')
->join($join) ->join($join)
->where($where) ->where($where)
...@@ -98,7 +99,7 @@ class GHousesFollowUp extends Model ...@@ -98,7 +99,7 @@ class GHousesFollowUp extends Model
->limit($pageSize) ->limit($pageSize)
->page($p) ->page($p)
->select(); ->select();
echo $this->getLastSql(); // echo $this->getLastSql();
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