<select >
#{memberId}
</foreach>
group by activity.member_id
</select>

 

这里一定要注意sum()函数后面不要有空格,不然报一个找不到函数的错误

相关文章: