moveToNext()不往下移动,那就说明前面步骤不对,可以先写个测试方法 手动去查下数据库验证一下先
select*from 数据库名字 where username="xinxi",一步步验证排查