mybatis_7_mybatis-config文件中添加mapper,映射到mapper.xml
mybatis-config文件中添加mapper,映射到mapper.xml
<configuration>
<mappers>
<mapper resource="tk/mybatis/simple/mapper/IndicatorMapper.xml"/>
</mappers>
</configuration>
mybatis-config文件中添加mapper,映射到mapper.xml
<configuration>
<mappers>
<mapper resource="tk/mybatis/simple/mapper/IndicatorMapper.xml"/>
</mappers>
</configuration>