diff --git a/Application/Admin/Controller/CompanyGameRatioController.class.php b/Application/Admin/Controller/CompanyGameRatioController.class.php index 2d93fe309..fdb11c916 100644 --- a/Application/Admin/Controller/CompanyGameRatioController.class.php +++ b/Application/Admin/Controller/CompanyGameRatioController.class.php @@ -52,7 +52,7 @@ class CompanyGameRatioController extends AdminController ->join("left JOIN ({$gameres}) g ON m.relation_game_id = g.relation_game_id") ->join("left JOIN tab_promote_company p ON m.company_id = p.id") ->where($where) - ->order('create_time desc, id desc'); + ->order("FIELD(m.status,0,1,-1,-2,2),id desc"); if(isset($params['export'])){ $dbres = $dbres->select(); }else{