diff --git a/frontend/controllers/SystemController.php b/frontend/controllers/SystemController.php index 97a6ec6..b02b57f 100644 --- a/frontend/controllers/SystemController.php +++ b/frontend/controllers/SystemController.php @@ -212,4 +212,11 @@ class SystemController extends \yii\web\Controller return $result; } } + + public function actionTest() { + $items = OrderT::find() + ->where('status_id=10') + ->all(); + echo count($items); + } }