update 镇农科公司任务改为镇合伙人公司任务

This commit is contained in:
chenbo 2023-11-24 10:37:22 +08:00
parent 6f9ef8c79f
commit a3cdb43f1c

View File

@ -474,7 +474,7 @@ class CeshiController extends BaseApiController
// 查询系统 所有镇农科公司 未下发 的 任务安排 // 查询系统 所有镇农科公司 未下发 的 任务安排
$taskSchedulingList = TaskScheduling::where('cron_time', '<', time()) $taskSchedulingList = TaskScheduling::where('cron_time', '<', time())
->where('status', 1) ->where('status', 1)
->where('company_type', 41) ->where('company_type', 16)
->where('company_id', $companyId) ->where('company_id', $companyId)
->with('company_info') ->with('company_info')
->select() ->select()
@ -514,7 +514,7 @@ class CeshiController extends BaseApiController
// 今日未结算的任务计划 // 今日未结算的任务计划
$taskSchedulingPlanList = TaskSchedulingPlan::whereDay('end_time','today') $taskSchedulingPlanList = TaskSchedulingPlan::whereDay('end_time','today')
->withJoin(['scheduling'], 'left') ->withJoin(['scheduling'], 'left')
->where('scheduling.company_type', 41) ->where('scheduling.company_type', 16)
->where('is_pay',0) ->where('is_pay',0)
->with(['template_info']) ->with(['template_info'])
->select() ->select()