@@ -213,7 +213,7 @@ class SchoolManager extends Model{
if(!$pageSize)
return 0;
- $rs = $this->conn->createCommand("select count(*) from teacher")->queryRow();
+ $rs = $this->conn->createCommand("select count(*) from xb_teacher")->queryRow();
$rs = current($rs);
return ceil($rs / $pageSize);