From 21a738054ab799721e2b30545a126b9a4ccc1190 Mon Sep 17 00:00:00 2001 From: chenzhi Date: Mon, 29 Jun 2020 16:33:09 +0800 Subject: [PATCH] =?UTF-8?q?=E9=9A=90=E8=97=8F=E6=8E=A8=E5=B9=BF=E5=85=AC?= =?UTF-8?q?=E5=8F=B8=E6=AF=94=E4=BE=8B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../PromoteCompanyController.class.php | 21 ++++++++++--------- 1 file changed, 11 insertions(+), 10 deletions(-) diff --git a/Application/Admin/Controller/PromoteCompanyController.class.php b/Application/Admin/Controller/PromoteCompanyController.class.php index c25fec532..cbb65152c 100644 --- a/Application/Admin/Controller/PromoteCompanyController.class.php +++ b/Application/Admin/Controller/PromoteCompanyController.class.php @@ -72,16 +72,17 @@ class PromoteCompanyController extends ThinkController //获取会长id $promoteids = implode(',', array_column($promoteres, 'id')); //获取游戏比例 - $gameradiores = M("PromoteGameRatio","tab_") - ->alias("pg") - ->field("pg.ratio,pg.relation_game_id,pg.turnover_ratio,pg.game_id,pg.promote_id,ga.relation_game_name,ga.game_type_name") - ->join("tab_game ga ON pg.game_id = ga.id") - ->where(array( - "status"=>1, - "promote_id"=>["in",$promoteids] - )) - ->group("relation_game_id,promote_id") - ->select(); + // $gameradiores = M("PromoteGameRatio","tab_") + // ->alias("pg") + // ->field("pg.ratio,pg.relation_game_id,pg.turnover_ratio,pg.game_id,pg.promote_id,ga.relation_game_name,ga.game_type_name") + // ->join("tab_game ga ON pg.game_id = ga.id") + // ->where(array( + // "status"=>1, + // "promote_id"=>["in",$promoteids] + // )) + // ->group("relation_game_id,promote_id") + // ->select(); + $gameradiores = []; //比例数据处理 $gameradiotemp = array(); foreach($gameradiores as $k=>$v){