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