|
|
@@ -55,7 +55,7 @@ class CacheShelfService
|
|
|
*/
|
|
|
public function lightOffTask($locCode, $PTLAction): array
|
|
|
{
|
|
|
- $station = Station::query()->with(['pendingStationTask.stationTaskMaterialBoxes.materialBox','storage'=>function(Builder $query){
|
|
|
+ $station = Station::query()->with(['pendingStationTask.stationTaskMaterialBoxes.materialBox','storage'=>function($query){
|
|
|
$query->whereNotNull("material_box_id")->orderByDesc("updated_at");
|
|
|
}])->where('code', $locCode)->first();
|
|
|
//站存在 站为缓存架2 站为蓝灯状态
|