你把
select user0_.userId as userId1_, user0_.userName as userName1_, user0_.userPwd as userPwd1_ from User user0_ where user0_.userName='wyb' and user0_.userPwd='626131'
这个SQL拿到数据库客户端执行一下,看看是否报错?