接收实体对象 取属性
teacher类
teacher.xml
配置文件接收参数
map.put(“student”, student);
map.put(“page”, page);
<select id="studentListPage" parameterType="java.util.Map" resultMap="StudentResult">
select * from student where tid=#{student.tid} //参数直接用map的key名
</select>