在IDEA中添加mapper.xml的样板
作者:互联网
1.点击file--->settings--->editor--->File and Code Templates
mapper样板内容
<?xml version="1.0" encoding="utf-8" ?>
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
"http://mybatis.org/dtd/mybatis-3-mapper.dtd" >
<mapper namespace="">
</mapper>
效果
标签:xml,mapper,Code,IDEA,---,File,样板 来源: https://blog.csdn.net/weixin_53689824/article/details/117164941