曾超新 5 years ago
parent 0a28925cb9
commit 86d83c9191
  1. 7
      frontend/controllers/SystemController.php

@ -217,6 +217,13 @@ class SystemController extends \yii\web\Controller
$items = OrderT::find()
->where('status_id=10')
->all();
foreach($items as $item) {
$car_info = $item->car;
if(!$car_info) {
echo 'error';
break;
}
}
return count($items);
}
}

Loading…
Cancel
Save