master
cody 2 weeks ago
parent 2dd49c3ee4
commit bd7da75748

@ -565,7 +565,7 @@ class OtherController extends CommonController
case 'company_market_total': case 'company_market_total':
// 上市公司明细 - 所有上市公司,关联学员、课程信息 // 上市公司明细 - 所有上市公司,关联学员、课程信息
$companies = Company::companyMarket($start_date, $end_date, true); $companies = CourseSign::shangshi($start_date, $end_date, true);
// 加载关联关系 // 加载关联关系
$companies->load(['users.courseSigns.course.typeDetail']); $companies->load(['users.courseSigns.course.typeDetail']);

@ -495,7 +495,7 @@ class CourseSign extends SoftDeletesModel
} }
/** /**
* 重点上市公司 * 上市公司
*/ */
public static function shangshi($start_date = null, $end_date = null, $course_ids = null, $retList = false) public static function shangshi($start_date = null, $end_date = null, $course_ids = null, $retList = false)
{ {

Loading…
Cancel
Save