<select id="selectUserorder" resultType="com.pojo.Orderdetail"
parameterType="java.lang.Integer">
SELECT
a.o_status,
a.o_no,
a.uid,
b.p_home,
b.p_starttime,
b.p_endtime,
b.p_playtype,
b.p_price,
c.m_name,
c.m_pic
from tb_order
a,tb_play b, tb_movie c
where a.uid=#{uid,jdbcType=INTEGER}
and
a.pid=b.pid
and b.`mid`=c.`mid`
</select>
注意是resultType不是resultMap!!!
而且实体属性的名称应该与数据库列的名称相同!!!