工会统计

master
liuweiwen 5 years ago
parent 809e9d36f1
commit 6625eaa4f7

@ -96,7 +96,6 @@ class FinancePromoteController extends AdminController
} }
} }
} }
$data = []; $data = [];
$count =array( $count =array(
"cash_count"=>0, "cash_count"=>0,
@ -107,6 +106,7 @@ class FinancePromoteController extends AdminController
foreach($senddata as $k=>$v){ foreach($senddata as $k=>$v){
if(empty($v['company_name'])) $v['company_name']= "万盟天下科技"; if(empty($v['company_name'])) $v['company_name']= "万盟天下科技";
if(empty($v['p_id'])) $v['p_id']= "0";
if(!array_key_exists('cash_count',$v)) $v['cash_count']=0; if(!array_key_exists('cash_count',$v)) $v['cash_count']=0;
if(!array_key_exists('balance_coin_count',$v)) $v['balance_coin_count']=0; if(!array_key_exists('balance_coin_count',$v)) $v['balance_coin_count']=0;
if(!array_key_exists('bind_coin_count',$v)) $v['bind_coin_count']=0; if(!array_key_exists('bind_coin_count',$v)) $v['bind_coin_count']=0;
@ -140,7 +140,6 @@ class FinancePromoteController extends AdminController
$size = $row; $size = $row;
$data = array_slice($data, ($arraypage - 1) * $size, $size); $data = array_slice($data, ($arraypage - 1) * $size, $size);
$this->assign('list_data', $data); $this->assign('list_data', $data);
$this->assign('all_count', $count); $this->assign('all_count', $count);
$this->meta_title = '公会统计'; $this->meta_title = '公会统计';

Loading…
Cancel
Save