当前位置:网站首页>idea设置mapper映射文件的模板

idea设置mapper映射文件的模板

2022-06-25 22:14:00 神烦狗闯入了你的博客

idea设置mapper映射文件的模板

在设置中找到File and Code Templates,点击 ” + “:

在这里插入图片描述

将模板粘贴后点解Apply。

<?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>

之后在新建的文件提示中就可以看到mybatis-mapper.xml了:

在这里插入图片描述

原网站

版权声明
本文为[神烦狗闯入了你的博客]所创,转载请带上原文链接,感谢
https://blog.csdn.net/qq_51628741/article/details/125448501