http://www.thinkphp.cn/document/320.html $Model->where('status=1')->order('id desc,status')->limit(5)->select();$Model->where('status=1')->order(array('order','id'=>'desc'))->limit(5)->select();