service必须在controller中也自动注入,否则service中@Autowired自动注入dao类不起作用
本文标题:mybatis使用spring的自动注入需要注意
本文链接:https://www.haomeiwen.com/subject/kmnsattx.html
网友评论