alias('notice') ->field('notice.*,admin.admin_name') ->join($join); if($condition){ $this->where($condition); } if($is_count){ return $this->count(); } if($order){ $this->order($order); } return $this->page($page,$pageSize)->select(); } }