shizhongqi 4 mesi fa
parent
commit
98e8109e3a
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  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();
         $get = Yii::$app->request->get();
         $where = [];
         $where = [];
-        $where['mainId'] = $this->mainId;
+        $where['o.mainId'] = $this->mainId;
         $searchTime = $get['searchTime'] ?? '';
         $searchTime = $get['searchTime'] ?? '';
         if (!empty($searchTime)) {
         if (!empty($searchTime)) {
             $startTime = $get['startTime'] ?? '';
             $startTime = $get['startTime'] ?? '';