@org.springframework.beans.factory.annotation.Autowired(required=true)
问题原因 忘了添加注解 问题解决 在实体类User上添加@Component注解 bug重现 ...
问题原因 忘了添加注解 问题解决 在实体类User上添加@Component注解 bug重现 ...
问题原因 sql语法,使用@Query("select id, username, usersex, userphone from User where User.usersex = ?1")会报错 ...
问题原因 没有实现类的接口上添加了@Autowired注解 问题解决 删掉@Autowired注解 bug详情 ...