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  留白*  阅读(37)  评论(0)    收藏  举报