<select id="findoneone" parameterType="int" resultType="java.util.HashMap" >
select u.*,p.* from products u,productimg p where u.productid =p.productid and u.productid = #{productid}
</select>
hashMap 得到键值对 适合json 接收List<Map<string,Object>>
resultMap 得到的是对象 适合组装 接收 resultMap 的type