Idea添加mybatis中mapper.xml模板

Idea添加mybatis中mapper.xml模板

一、流程

打开idea
File -> Settings 按如下顺序操作
在这里插入图片描述

二、模板内容

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

猜你喜欢

转载自blog.csdn.net/qq_43010602/article/details/123579982