forget_get_question和forget_reset_password测试显示用户不存在(已登录状态)
来源:6-9 用户模块所有功能自测试
慕粉2192230
2020-08-24
具体需要怎样操作,新手来的。麻烦老师了
17:41:22.430 [http-bio-8088-exec-8] DEBUG org.mybatis.spring.SqlSessionUtils - Creating a new SqlSession
17:41:22.430 [http-bio-8088-exec-8] DEBUG org.mybatis.spring.SqlSessionUtils - SqlSession [org.apache.ibatis.session.defaults.DefaultSqlSession@2d63cb4d] was not registered for synchronization because synchronization is not active
17:41:22.433 [http-bio-8088-exec-8] DEBUG o.m.s.t.SpringManagedTransaction - JDBC Connection [jdbc:mysql://localhost:3306/mmall_learning?characterEncoding=utf-8, UserName=root@localhost, MySQL-AB JDBC Driver] will not be managed by Spring
17:41:22.433 [http-bio-8088-exec-8] DEBUG c.mmall.dao.UserMapper.checkUsername - ==> Preparing: select count(1) from mmall_user where username = ?
17:41:22.433 [http-bio-8088-exec-8] DEBUG c.mmall.dao.UserMapper.checkUsername - ==> Parameters: testtest(String)
17:41:22.434 [http-bio-8088-exec-8] DEBUG c.mmall.dao.UserMapper.checkUsername - <== Total: 1
17:41:22.434 [http-bio-8088-exec-8] DEBUG org.mybatis.spring.SqlSessionUtils - Closing non transactional SqlSession [org.apache.ibatis.session.defaults.DefaultSqlSession@2d63cb4d]
17:41:26.791 [http-bio-8088-exec-9] DEBUG org.mybatis.spring.SqlSessionUtils - Creating a new SqlSession
17:41:26.792 [http-bio-8088-exec-9] DEBUG org.mybatis.spring.SqlSessionUtils - SqlSession [org.apache.ibatis.session.defaults.DefaultSqlSession@3c2ca418] was not registered for synchronization because synchronization is not active
17:41:26.792 [http-bio-8088-exec-9] DEBUG o.m.s.t.SpringManagedTransaction - JDBC Connection [jdbc:mysql://localhost:3306/mmall_learning?characterEncoding=utf-8, UserName=root@localhost, MySQL-AB JDBC Driver] will not be managed by Spring
17:41:26.793 [http-bio-8088-exec-9] DEBUG c.mmall.dao.UserMapper.checkUsername - ==> Preparing: select count(1) from mmall_user where username = ?
17:41:26.793 [http-bio-8088-exec-9] DEBUG c.mmall.dao.UserMapper.checkUsername - ==> Parameters: testtest(String)
17:41:26.793 [http-bio-8088-exec-9] DEBUG c.mmall.dao.UserMapper.checkUsername - <== Total: 1
17:41:26.793 [http-bio-8088-exec-9] DEBUG org.mybatis.spring.SqlSessionUtils - Closing non transactional SqlSession [org.apache.ibatis.session.defaults.DefaultSqlSession@3c2ca418]
1回答
-
慕丝4222482
2020-08-25
检查dao层接口中方法的参数是否有多个,如果是多个参数要加param注解
012020-08-25
相似问题