oe.status = #{status}
insert into ope_email_status(id, order_code, apply_code, reagent_id , num, apply_user_id, status, create_time, update_time)
values (#{id}, #{orderCode}, #{applyCode}, #{reagentId}, #{num}, #{applyUserId}, #{status}, now(), now())
update ope_email_status set status=#{status}, update_time=now()
where id = #{id}
update ope_email_status set reagent_id=#{newReId} where reagent_id=#{oldReId}