|
|
@@ -75,7 +75,7 @@ class StationTaskBatchService
|
|
|
}
|
|
|
}
|
|
|
$this->batchService->updateWhereIn('id', data_get($batches_handled, '*.id'), ['status' => '处理中']);
|
|
|
- $stationTaskBatches_toCreate=$stationTaskBatches_toCreate->reverse();
|
|
|
+ $stationTaskBatches_toCreate=$stationTaskBatches_toCreate->reverse();//这里的波次顺序是反的,不知为什么,所以反向一次就好了。其他解耦的地方都是正序,必须保持一致
|
|
|
$this->insert($stationTaskBatches_toCreate->toArray());
|
|
|
|
|
|
$stationTaskBatches_toCreate=$this->getAndAttachIds($stationTaskBatches_toCreate);
|