MySQL语句给字段值加1

update tbl_moment_like set like_count = like_count + #{addLikes} where mid = #{mid}

posted @ 2016-12-09 10:50  跨境电商杂货铺  阅读(2253)  评论(0编辑  收藏  举报