master
cody 2 weeks ago
parent 8ba5fb0d2c
commit 47a58aa9a0

@ -238,9 +238,8 @@ 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($start_date, $end_date);
$startDate = substr($start_date, 0, 10);
$endDate = substr($end_date, 0, 10);
// 筛选出被投时间在范围内的企业
$filteredCompanies = [];
foreach ($companies as $company) {

Loading…
Cancel
Save