diff --git a/Application/Admin/Common/extend.php b/Application/Admin/Common/extend.php index 3eefa7b83..78b0cfe18 100644 --- a/Application/Admin/Common/extend.php +++ b/Application/Admin/Common/extend.php @@ -2044,7 +2044,7 @@ function getGameCpRadio($game_id,$amount,$type) { if (!$type) { - $data = M('cp_game_ratio','tab_')->where(['game_id'=>$game_id])->find(); + $data = M('cp_game_ratio','tab_')->where(['game_id'=>$game_id])->order('begin_total_amount desc')->find(); } else { //取两条 $ladderData = M('cp_game_ratio','tab_')->where(['game_id'=>$game_id,'begin_total_amount'=>['elt',$amount]])->limit(0,2)->order('begin_total_amount desc')->select();