delete from children_day_degree_info
where id_ = #{id}
insert into children_day_degree_info (reserve_id_, user_id_, subject_id_, grade_level_, grade_price_,
theory_level_,theory_price_, vip_1v1_price_, vip_1v2_price_, theory_course_price_, total_amount_,order_id_,
create_time_, update_time_)
values (#{reserveId}, #{userId}, #{subjectId}, #{gradeLevel}, #{gradePrice}, #{theoryLevel},
#{theoryPrice}, #{vip1v1Price}, #{vip1v2Price}, #{theoryCoursePrice}, #{totalAmount},#{orderId},
NOW(), NOW())
update children_day_degree_info
reserve_id_ = #{reserveId},
user_id_ = #{userId},
subject_id_ = #{subjectId},
grade_level_ = #{gradeLevel},
grade_price_ = #{gradePrice},
theory_level_ = #{theoryLevel},
theory_price_ = #{theoryPrice},
vip_1v1_price_ = #{vip1v1Price},
vip_1v2_price_ = #{vip1v2Price},
theory_course_price_ = #{theoryCoursePrice},
total_amount_ = #{totalAmount},
order_id_ = #{orderId},
create_time_ = #{createTime},
update_time_ = NOW(),
where id_ = #{id}