第一步:进入目录settings->Editor->File and Code Templates
在这里插入图片描述
第二步:添加模板步骤
在这里插入图片描述
此处为模板的内容

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

再次添加的时,就能看到了
![在这里插入图片描述](https://img-blog.csdnimg.cn/80aad19baea540a9a5c18f209ef529c0.png?x-oss-process=image/watermark,type_d3F5LXplbm

Logo

为开发者提供学习成长、分享交流、生态实践、资源工具等服务,帮助开发者快速成长。

更多推荐