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