|
|
@@ -73,9 +73,10 @@ class StationTaskBatchService
|
|
|
}
|
|
|
$this->batchService->updateWhereIn('id', data_get($batches_handled, '*.id'), ['status' => '处理中']);
|
|
|
$this->insert($stationTaskBatches_toCreate->toArray());
|
|
|
- $this->stationTaskService->registerSubTasks($stationTasks_toAttach,
|
|
|
+ $this->stationTaskService->registerSubTasks(
|
|
|
+ $stationTasks_toAttach,
|
|
|
$stationTaskBatches_toCreate->map(function ($stationMissionBatch) {
|
|
|
- return [$stationMissionBatch];
|
|
|
+ return collect($stationMissionBatch);
|
|
|
})
|
|
|
);
|
|
|
|