|
@@ -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 = [];
|