yingzi 1 year ago
parent
commit
68f7cab80c
1 changed files with 1 additions and 1 deletions
  1. 1 1
      Util/Common/PartnerTools.Class.php

+ 1 - 1
Util/Common/PartnerTools.Class.php

@@ -575,7 +575,7 @@ class PartnerTools{
         if(!empty($customerId)){
             $where["customerId"] = $customerId;
         }
-        $data = $this->dbNewCommissionBalanceDetail->select(["customerId"=>$customerId], "*", "id desc", $parms["limit"], $parms["offset"]);
+        $data = $this->dbNewCommissionBalanceDetail->select(["customer_id"=>$customerId], "*", "id desc", $parms["limit"], $parms["offset"]);
         $total = $this->dbNewCommissionBalanceDetail->count($where);
         if(empty($data)){
             $data = [];