|
|
|
|
@ -195,9 +195,9 @@ class CourseSign extends SoftDeletesModel
|
|
|
|
|
})->where('is_yh_invested', 1)->get();
|
|
|
|
|
// 自定义时间:需要按被投时间筛选
|
|
|
|
|
if (!$isDefaultDate) {
|
|
|
|
|
$startDate = substr($start_date, 0, 10);
|
|
|
|
|
$endDate = substr($end_date, 0, 10);
|
|
|
|
|
dd($startDate, $endDate);
|
|
|
|
|
// $startDate = substr($start_date, 0, 10);
|
|
|
|
|
// $endDate = substr($end_date, 0, 10);
|
|
|
|
|
dd($start_date, $end_date);
|
|
|
|
|
// 筛选出被投时间在范围内的企业
|
|
|
|
|
$filteredCompanies = [];
|
|
|
|
|
foreach ($companies as $company) {
|
|
|
|
|
|