当前位置:网站首页>Idea set the template of mapper mapping file

Idea set the template of mapper mapping file

2022-06-26 00:24:00 Annoying dog broke into your blog

idea Set up mapper Template of mapping file

Found in settings File and Code Templates, Click on ” + “:

 Insert picture description here

Click solve after pasting the template 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>

Then you can see in the new file prompt mybatis-mapper.xml 了 :

 Insert picture description here

原网站

版权声明
本文为[Annoying dog broke into your blog]所创,转载请带上原文链接,感谢
https://yzsam.com/2022/177/202206252206279560.html