Kaynağa Gözat

客户欠款列表

shish 1 yıl önce
ebeveyn
işleme
ebade52a19
1 değiştirilmiş dosya ile 2 ekleme ve 2 silme
  1. 2 2
      app-ghs/controllers/OrderController.php

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

@@ -1919,8 +1919,8 @@ class OrderController extends BaseController
         $id = $get['id'] ?? 0;
         $info = CustomClass::getCustom($id);
         CustomClass::valid($info, $this->shopId);
-
-        $where = ['customId' => $id, 'debt' => 1];
+        $mainId = $this->mainId;
+        $where = ['mainId' => $mainId, 'customId' => $id, 'debt' => 1];
         $searchTime = $get['searchTime'] ?? '';
         if (!empty($searchTime)) {
             $startTime = $get['startTime'] ?? '';