diff --git a/Application/Admin/Controller/CompanyStatementSetController.class.php b/Application/Admin/Controller/CompanyStatementSetController.class.php index a0f1818de..a3720268f 100644 --- a/Application/Admin/Controller/CompanyStatementSetController.class.php +++ b/Application/Admin/Controller/CompanyStatementSetController.class.php @@ -767,7 +767,7 @@ class CompanyStatementSetController extends Controller { $spenMap['s.promote_id']=["in",$pres['ids']]; //获取支付记录 $list = $Spend->alias('s')->field('sum(s.pay_amount) pay_amount,s.game_id,g.relation_game_id,g.relation_game_name game_name')->where($spenMap)->group('game_id') - ->join("tab_game g on s.game_id = g.id") + ->join("left join tab_game g on s.game_id = g.id") ->select(); if(empty($list)){continue;} foreach($list as $k=>$v){ diff --git a/Application/Admin/Controller/PromoteCompanyController.class.php b/Application/Admin/Controller/PromoteCompanyController.class.php index ccfc01f04..8f7eac955 100644 --- a/Application/Admin/Controller/PromoteCompanyController.class.php +++ b/Application/Admin/Controller/PromoteCompanyController.class.php @@ -267,7 +267,7 @@ class PromoteCompanyController extends ThinkController $v['verify_log'] = json_decode($v['verify_log'], true); $v["create"]= "{$v['verify_log']['create_user']}
{$v['verify_log']['create_time']}"; if(isset($v['verify_log']['market_user'])){ - if($v['status'] == -1){ + if($v['verify_status'] == -1){ $ts = "审核拒绝"; }else{ $ts = "审核通过"; @@ -278,7 +278,7 @@ class PromoteCompanyController extends ThinkController } if(isset($v['verify_log']['admin_user'])){ - if($v['status'] == -2){ + if($v['verify_status'] == -2){ $ts = "审核拒绝"; }else{ $ts = "审核通过";