Exemple #1
0
 /**
  * 临时::课程的节数
  * 数据导入时没有对一些统计数据加处理.所以这里做了一个重新统计.
  */
 public function getCourseSectionTotal($courseId)
 {
     $tblSection = new DB_Haodu_CourseSection();
     return $tblSection->queryCount("where course_id = {$courseId} and parent_id > 0");
 }