$count = count($Dao->query( " SELECT * FROM ofpadmin JOIN ofid ON ofpadmin.pid = ofid.pid JOIN ofprovince ON ofid.ProvinceID = ofprovince.ProvinceID " ) );//总计条数