Jing Li 2024-04-30 20:31:17 +08:00
parent 785fe05ad3
commit f48d906a86
2 changed files with 2 additions and 2 deletions

View File

@ -199,7 +199,7 @@ class WorkFlowService extends BaseService
]);
$log->update(['check_status' => CheckStatus::Processing]);
WorkflowCheckNext::dispatch($log);
WorkflowCheckNext::dispatch($log->withoutRelations());
// 自动审核通过
if ($this->authCheck($check->employee, $log)) {

View File

@ -55,7 +55,7 @@ class CreateWorkflowCheckNextMessage implements ShouldQueue
'审批提醒',
"您有一条【{$subjectTypeText}】待审批。",
$employees->all(),
['workflow_log' => $event->workflowLog->withoutRelations()],
['workflow_log' => $event->workflowLog],
);
}
}