public function getTotalNums($pkField = null, $tableName = null, $tablePrefix = null)
{
is_null($tableName) && ($tableName = $this->getTableName());
is_null($tablePrefix) && ($tablePrefix = $this->tablePrefix);
is_null($pkField) && ($pkField = $this->db($this->getDbConf())->getPk($tableName, $tablePrefix));
return $this->db($this->getDbConf())->table($tableName, $tablePrefix)->count($pkField);
}