mybatis框架的Mapper配置文件模板
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE mapper PUBLIC "-//mybatis.org/DTD Mapper 3.0"
"http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper namespace="接口的全限定类名">
<select id="getAll" resultType="">
sql语句
</select>
</mapper>
就这样