update 镇农科公司任务结算接口改为镇合伙人公司任务结算

This commit is contained in:
chenbo 2023-11-29 10:26:35 +08:00
parent 99b3c18a8e
commit 2f99915481

View File

@ -184,11 +184,11 @@ class CronController extends BaseApiController
*/
public function town_task_settlement()
{
Log::info('镇农科公司定时任务结算执行-开始'.date('Y-m-d H:i:s'));
Log::info('镇合伙人公司定时任务结算执行-开始'.date('Y-m-d H:i:s'));
//today 今日未结算的任务计划
$taskSchedulingPlanList = TaskSchedulingPlan::whereDay('end_time','today')
->withJoin(['scheduling'], 'left')
->where('scheduling.company_type', 41)
->where('scheduling.company_type', 16)
->where('is_pay',0)
->with(['template_info'])
->select()
@ -213,7 +213,7 @@ class CronController extends BaseApiController
queue(TownTaskSettlementJob::class, $taskSchedulingPlan);
}
}
Log::info('镇农科公司定时任务结算执行-结束'.date('Y-m-d H:i:s'));
Log::info('镇镇合伙人公司定时任务结算执行-结束'.date('Y-m-d H:i:s'));
return $this->success('镇农科公司定时任务结算执行成功');
}
}