路径 : resources/com/xxxx/dao
<?xml version="1.0" encoding="UTF-8"?><!--配置Mapper的约束-->
<!DOCTYPE mapper
PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
"http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper namespace="com.xxxx.dao.IUserDAO">
<!--配置查询所有-->
<select id="findAll" resultType="com.xxxx.domain.UserDO>
select * from user
</select>
</mapper>