shizhongqi 3 ヶ月 前
コミット
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'] ?? '';