user is not mapped [from user where password='12']

用户没有映射[来自用户的密码= '12' ] 

主要是我这里的sql2 = "from user where password='12'"写的是数据库的user表名,这里用的是User ,把原来的user写成User对应类的

猜你喜欢

转载自blog.csdn.net/qq_31308933/article/details/81331601