select adv_id, adv_title, image_url, adv_url,app_adv_url, content, create_time, update_time, status, sort, adv_type, show_type, active_id from fs_adv insert into fs_adv adv_title, image_url, adv_url, app_adv_url, content, create_time, update_time, status, sort, adv_type, show_type, active_id, #{advTitle}, #{imageUrl}, #{advUrl}, #{appAdvUrl}, #{content}, #{createTime}, #{updateTime}, #{status}, #{sort}, #{advType}, #{showType}, #{activeId}, update fs_adv adv_title = #{advTitle}, image_url = #{imageUrl}, adv_url = #{advUrl}, app_adv_url = #{appAdvUrl}, content = #{content}, create_time = #{createTime}, update_time = #{updateTime}, status = #{status}, sort = #{sort}, adv_type = #{advType}, show_type = #{showType}, active_id = #{activeId}, where adv_id = #{advId} delete from fs_adv where adv_id = #{advId} delete from fs_adv where adv_id in #{advId}