insert into ma_type_collect(type_id,user_id) values(#{typeId},#{userId}) delete from ma_type_collect where type_id = #{typeId} and user_id = #{userId}