mybatis_7_mybatis-config文件中添加mapper,映射到mapper.xml

mybatis-config文件中添加mapper,映射到mapper.xml

<configuration>
<mappers>
        <mapper resource="tk/mybatis/simple/mapper/IndicatorMapper.xml"/>
    </mappers>
</configuration>

  

posted @ 2022-08-15 18:18  留白*  阅读(35)  评论(0编辑  收藏  举报