shizhongqi 3 месяцев назад
Родитель
Сommit
98e8109e3a
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      app-ghs/controllers/OrderController.php

+ 1 - 1
app-ghs/controllers/OrderController.php

@@ -952,7 +952,7 @@ class OrderController extends BaseController
     {
         $get = Yii::$app->request->get();
         $where = [];
-        $where['mainId'] = $this->mainId;
+        $where['o.mainId'] = $this->mainId;
         $searchTime = $get['searchTime'] ?? '';
         if (!empty($searchTime)) {
             $startTime = $get['startTime'] ?? '';