update mall_member_wallet set revision = revision + 1, balance = #{record.balance} where id=#{record.id} and revision=#{record.revision}