master
cody 3 months ago
parent ea82817fdc
commit 56da20ffc9

@ -254,10 +254,10 @@ class OtherController extends CommonController
}
// 统计 is_chart=0 的课程类型数据,组成"其他"统计项
// $otherCourseType = CourseType::getOtherStatistics($configStartDate, $configEndDate);
$otherCourseType = CourseType::getOtherStatistics($configStartDate, $configEndDate);
// // 将"其他"添加到 courseTypes 集合中
// $courseTypes->push($otherCourseType);
// 将"其他"添加到 courseTypes 集合中
$courseTypes->push($otherCourseType);
// 将统计数据直接组合到配置对象中
$config->courseTypes = $courseTypes;

Loading…
Cancel
Save