|
|
@@ -65,8 +65,8 @@ class StationRuleBatchService
|
|
|
$batches=$batches->whereNotIn('id',data_get($batches_inTask,'*.id')??[]);
|
|
|
foreach ($batches as $batch){
|
|
|
$stationRuleBatch=$this->getByBatch($batch);
|
|
|
- if($stationRuleBatch)
|
|
|
- $batches_toProcess->push($batch);
|
|
|
+ if(!$stationRuleBatch)continue;
|
|
|
+ $batches_toProcess->push($batch);
|
|
|
}
|
|
|
LogService::log(__METHOD__,'shouldProcess','波次任务分配1.3:'.json_encode($batches_inTask));
|
|
|
return $batches_toProcess;
|