|
|
|
@ -39,7 +39,7 @@ class CompanyGameRatioController extends AdminController
|
|
|
|
|
if(isset($params['company_id'])){
|
|
|
|
|
$where['m.company_id'] = $params['company_id'];
|
|
|
|
|
}
|
|
|
|
|
$this->checkListOrCountAuthRestMap($where);
|
|
|
|
|
// $this->checkListOrCountAuthRestMap($where);
|
|
|
|
|
|
|
|
|
|
$gameres = M("game","tab_")->field("tab_game.relation_game_id,tab_game.relation_game_name,IF(tab_game.original_package_name='','未配置',tab_game.original_package_name) original_package_name,tab_game_type.type_name game_type_name")->where($gamewhere)->join("tab_game_type on tab_game.game_type_id = tab_game_type.id")->group("tab_game.relation_game_id")->select(false);
|
|
|
|
|
$dbres = M("company_game_ratio","tab_")
|
|
|
|
@ -136,7 +136,7 @@ class CompanyGameRatioController extends AdminController
|
|
|
|
|
$where['m.status'] = $params['status'];
|
|
|
|
|
}
|
|
|
|
|
//TODO:未计算公司类型
|
|
|
|
|
$this->checkListOrCountAuthRestMap($where);
|
|
|
|
|
// $this->checkListOrCountAuthRestMap($where);
|
|
|
|
|
$gameres = M("game","tab_")->field("tab_game.relation_game_id,tab_game.relation_game_name,IF(tab_game.original_package_name='','未配置',tab_game.original_package_name) original_package_name,tab_game_type.type_name game_type_name")->where($gamewhere)->join("tab_game_type on tab_game.game_type_id = tab_game_type.id")->group("tab_game.relation_game_id")->select(false);
|
|
|
|
|
$dbres = M("company_game_ratio_log","tab_")
|
|
|
|
|
->alias('m')
|
|
|
|
|