依次打开File–>Settings–>Editor–>File and Code Templates,在右边的窗口中单击+号然后
按上图所示,添加如下代码:
DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd"> <mapper namespace=""> mapper>
使用时非常简单:
京公网安备 11010502049817号