|
|
@@ -152,7 +152,7 @@ class StationTaskMaterialBoxService
|
|
|
})();
|
|
|
($按时间从前往后排出顺序=function ()use(&$stationTaskMaterialBoxes){
|
|
|
$stationTaskMaterialBoxes=$stationTaskMaterialBoxes
|
|
|
- ->orderBy('id','asc')
|
|
|
+ ->sortBy('id')
|
|
|
->groupBy('station_task_batch_id')
|
|
|
->get();
|
|
|
})();
|
|
|
@@ -184,7 +184,6 @@ class StationTaskMaterialBoxService
|
|
|
->where('station_task_batch_id',$stationTaskBatch_id)
|
|
|
->where('status','处理中')
|
|
|
->first();
|
|
|
-
|
|
|
}
|
|
|
|
|
|
function excepted($stationTaskMaterialBoxes_orBox){
|
|
|
@@ -219,6 +218,5 @@ class StationTaskMaterialBoxService
|
|
|
// return '入库';
|
|
|
// }
|
|
|
throw new ErrorException('当前类型找不到');
|
|
|
-
|
|
|
}
|
|
|
}
|