select id, title, type, content, url, video_url, source_id, source_name, article_type, recommend, publish, iscomment, view_number, create_time, update_time, update_user, create_user, is_deleted, article_range, building, unit from jczz_article update jczz_article set iscomment = #{type} where id in (${ids})