优化公会统计平台币内充详情不符问题

master
chenzhi 5 years ago
parent 76cd530239
commit a69ef9e118

@ -111,6 +111,7 @@ class FinancePromoteController extends AdminController
"inside_cash_count"=>0,
);
foreach($senddata as $k=>$v){
$v['company_belong'] = $v['company_belong'] ?:0;
$v['company_belong'] = getCompanyBlong($v['company_belong']);
if(empty($v['company_name'])) $v['company_name']= $this->COMPANY_NAME;
if(empty($v['p_id'])) $v['p_id']= "0";
@ -788,7 +789,7 @@ class FinancePromoteController extends AdminController
if($_REQUEST['promote_id'] == 0){
$isgf = true;
}
$map['s.promote_id'] = $_REQUEST['promote_id'];
$map['s.promote_id'] = $map['s.promote_id'] = array("in",implode(",",array_column(getPrmoteChlidAccount($_REQUEST['promote_id'],"id"),"id")).",".$_REQUEST['promote_id']);
}
//检索
if (isset($_REQUEST['sn'])) {

Loading…
Cancel
Save