Explorar el Código

替换teacher表

24753255@qq.com hace 7 meses
padre
commit
84a65d4f03
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      protected/models/SchoolManager.php

+ 1 - 1
protected/models/SchoolManager.php

@@ -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);