<select id="associationCountByMap" resultType="java.lang.String">
select sayings_id from user_sayings_group_relation o left join user_sayings p
on o.sayings_id = p.id
where 1=1
<include refid="association_params" />
</select>
1.reslutType写List里面的元素类型,而不是List本身
2.接收方法
List associationCountByMap(@Param(“params”)Map