edit-qyrobot2
This commit is contained in:
@@ -504,7 +504,7 @@ class Qyrobot{
|
||||
if($today_rows){
|
||||
foreach ($today_rows as $key => $val) {
|
||||
$today_count += $val['total'];
|
||||
$row = $this->auto_brand_model->get(['id'=>$val['brand_id']],'name');
|
||||
$row = $this->ci->auto_brand_model->get(['id'=>$val['brand_id']],'name');
|
||||
$today_info[] = [
|
||||
'brand_name' => $row['name'],
|
||||
'num' => $val['total']
|
||||
@@ -522,7 +522,7 @@ class Qyrobot{
|
||||
if($month_rows){
|
||||
foreach ($today_rows as $key => $val) {
|
||||
$month_count += $val['total'];
|
||||
$row = $this->auto_brand_model->get(['id'=>$val['brand_id']],'name');
|
||||
$row = $this->ci->auto_brand_model->get(['id'=>$val['brand_id']],'name');
|
||||
$month_info[] = [
|
||||
'brand_name' => $row['name'],
|
||||
'num' => $val['total']
|
||||
|
||||
Reference in New Issue
Block a user