core/PageList.php
public function getList($fetch_style = null, $fetch_argument = null, array $ctor_args = null)
    {
        $this->getInfo();
        $start = ($this->page - 1) * $this->pageSize;
        if ($start < 0) {
            $start = 0;
        }
        if ($this->selector) {
            $this->selector->limit($start, $this->pageSize);
            return $this->selector->getListByPageList();
        }
        $sql = $this->sql . ' limit ' . $start . ' , ' . $this->pageSize;
        return DB::getList($sql, $this->args, $fetch_style, $fetch_argument, $ctor_args);
    }
public function getList($fetch_style = null, $fetch_argument = null, array $ctor_args = null)
    {
        $this->getInfo();
        $start = ($this->page - 1) * $this->pageSize;
        if ($start < 0) {
            $start = 0;
        }
        if ($this->selector) {
            $this->selector->limit($start, $this->pageSize);
            return $this->selector->getListByPageList();
        }
        $sql = $this->sql . ' limit ' . $start . ' , ' . $this->pageSize;
        return DB::getList($sql, $this->args, $fetch_style, $fetch_argument, $ctor_args);
    }
获取 分页后的记录集数据
@param null $fetch_style
@param null $fetch_argument
@param array|null $ctor_args
@return array
@throws \Exception