IDEA中创建xml文件

步骤 4 要输入的内容:

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

</mapper>

点击 Apply - ok 后在 New 中就可以看到 xml 模板

猜你喜欢

转载自www.cnblogs.com/south-wood/p/12799143.html