| | |
| | | |
| | | |
| | | <update id="updateHappyActivitySurplusCnt" > |
| | | update happy_activity set surplus_cnt = likes_cnt + #{cnt} where id = #{id} |
| | | update happy_activity set surplus_cnt = surplus_cnt + #{cnt} where id = #{id} |
| | | </update> |
| | | |
| | | <select id="getVoteOptionInPage" resultType="cc.mrbird.febs.mall.vo.ApiActivityOptionListVo"> |
| | |
| | | order by a.created_time desc |
| | | </select> |
| | | |
| | | |
| | | |
| | | <select id="getCommentListInPage" resultType="cc.mrbird.febs.mall.vo.activity.AdminActivityCommentVo"> |
| | | select |
| | | a.*, |
| | | b.name memberName, |
| | | c.order_no orderNo |
| | | from happy_activity_comment a |
| | | left join mall_member b on a.member_id = b.id |
| | | left join happy_activity_order c on a.order_id = c.id |
| | | where a.activity_id = #{record.activityId} |
| | | order by a.created_time desc |
| | | </select> |
| | | |
| | | </mapper> |