master
cody 2 weeks ago
parent 9eff400b0f
commit 66fd3f45af

@ -43,8 +43,8 @@ class UpdateCompany extends Command
public function handle()
{
$user_id = $this->option('user_id');
$updateLocal = (int) $this->option('address');
$updateMarket = (int) $this->option('market');
$updateLocal = (int)$this->option('address');
$updateMarket = (int)$this->option('market');
// 更新公司信息
$this->compnay($user_id);
// 更新经纬度信息(可选)

@ -244,11 +244,12 @@ class OtherController extends CommonController
// 开课天数
$list['course_day_total'] = (clone $calendar)->where('is_count_days', 1)->sum('days');
$course_ids = $courses->pluck('id');
// 上市公司数(所有上市公司)
$list['company_market_total'] = CourseSign::shangshi($start_date, $end_date);
$list['company_market_total'] = CourseSign::shangshi($start_date, $end_date,$course_ids);
// 跟班学员数在指定时间范围内报名的学员中from为'跟班学员'的数量)
$course_ids = $courses->pluck('id');
$list['ganbu_total'] = CourseSign::genban($start_date, $end_date, $course_ids);
// 今年上市公司数量stock_date在今年

Loading…
Cancel
Save