select r.id, r.active_title, r.active_desc,r.active_start_date,r.active_end_date, r.active_pic_url, r.active_type, r.status, r.del_flag, r.create_time, r.remark from active_info r update active_info set del_flag = '2' where id = #{id} update active_info set del_flag = '2' where id in #{id} update active_info active_title = #{activeTitle}, active_desc = #{activeDesc}, active_start_date = #{activeStartDate}, active_end_date = #{activeEndDate}, status = #{status}, active_pic = #{active_pic_url}, active_type = #{activeType}, remark = #{remark}, update_by = #{updateBy}, update_time = sysdate() where id = #{id} insert into active_info( active_title, active_desc, active_start_date, active_end_date, active_type, active_pic_url, status, remark, create_by, create_time )values( #{activeTitle}, #{activeDesc}, #{activeStartDate}, #{activeEndDate}, #{activeType}, #{activePicUrl}, #{status}, #{remark}, #{createBy}, sysdate() )