ResultSet rs = stmt.executeQuery("select seat_num,times from sys.seat_selection where sno = '"+sno+"' and data ='"+time+"' and times>="+hour);
            Log.d(TAG, "Onclick0:获取数据成功"+"select seat_num,times from sys.seat_selection where sno = '"+sno+"' and data ='"+date+"' and times>="+hour);
            if(rs.next()){
                Log.d(TAG, "Onclick0: 进入循环");
            }else{
                Log.d(TAG, "Onclick0: wei进入循环");
            }
通过jdbc数据库连接成功,try、catch语句没有捕获错误,sql语句在数据库里执行有两行结果集返回,在执行rs.next()是为false,也就是直接执行的else的内容,想问一下为什么