工会统计搜索公司

master
liuweiwen 5 years ago
parent c44e5ee1a7
commit b3e32506cc

@ -41,6 +41,7 @@ class FinancePromoteController extends AdminController
$senddata = []; $senddata = [];
//获取各会长的充值方式 //获取各会长的充值方式
$cash = self::getJoinPromoteData([],$istimeselect); $cash = self::getJoinPromoteData([],$istimeselect);
foreach($cash as $k=>$v){ foreach($cash as $k=>$v){
$senddata[$v['p_id']] = $v; $senddata[$v['p_id']] = $v;
} }
@ -56,8 +57,10 @@ class FinancePromoteController extends AdminController
$senddata[$v['p_id']] = $v; $senddata[$v['p_id']] = $v;
}; };
} }
if(!empty($senddata)){ if(!empty($senddata)){
if(array_key_exists(0,$senddata) || $_REQUEST['promote_id']==0){ if(array_key_exists(0,$senddata) || $_REQUEST['promote_id']==0){
if (empty($_REQUEST['company_id'])) {
$pmap['status']=1; $pmap['status']=1;
if($istimeselect){ if($istimeselect){
$pmap['create_time'] = $istimeselect; $pmap['create_time'] = $istimeselect;
@ -66,9 +69,10 @@ class FinancePromoteController extends AdminController
if($admininside['amount'] >0){ if($admininside['amount'] >0){
$senddata[0]['inside_cash_count']= $admininside['amount']; $senddata[0]['inside_cash_count']= $admininside['amount'];
} }
} }
} }
}
$data = []; $data = [];
$count =array( $count =array(
"cash_count"=>0, "cash_count"=>0,

Loading…
Cancel
Save