Commit b417796e authored by clone's avatar clone

bug

parent 76c7b635
......@@ -89,7 +89,8 @@ class GHousesFollowUp extends Model
*/
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')
->join($join)
->where($where)
......@@ -98,7 +99,7 @@ class GHousesFollowUp extends Model
->limit($pageSize)
->page($p)
->select();
echo $this->getLastSql();
// echo $this->getLastSql();
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