insert into student_repair (id_, trans_no_, organ_id_,
student_id_, student_name_, student_school_,
employee_id_, employee_name_, subject_id_,
subject_name_, type_, instrument_no_,
description_, amount_, finish_time_,
send_type_, contact_name_, contact_mobile_,
address_, pay_status_, create_time_,
update_time_)
values (#{id,jdbcType=INTEGER}, #{transNo,jdbcType=VARCHAR}, #{organId,jdbcType=INTEGER},
#{studentId,jdbcType=INTEGER}, #{studentName,jdbcType=VARCHAR}, #{studentSchool,jdbcType=VARCHAR},
#{employeeId,jdbcType=INTEGER}, #{employeeName,jdbcType=VARCHAR}, #{subjectId,jdbcType=INTEGER},
#{subjectName,jdbcType=VARCHAR}, #{type,jdbcType=INTEGER}, #{instrumentNo,jdbcType=VARCHAR},
#{description,jdbcType=VARCHAR}, #{amount,jdbcType=DECIMAL}, #{finishTime,jdbcType=TIMESTAMP},
#{sendType,jdbcType=INTEGER}, #{contactName,jdbcType=VARCHAR}, #{contactMobile,jdbcType=VARCHAR},
#{address,jdbcType=VARCHAR}, #{payStatus,jdbcType=INTEGER}, #{createTime,jdbcType=TIMESTAMP},
#{updateTime,jdbcType=TIMESTAMP})
UPDATE student_repair
trans_no_ = #{transNo},
organ_id_ = ##{organId},
student_id_ = #{studentId},
student_name_ = #{studentName},
student_school_ = #{studentSchool},
employee_id_ = #{employeeId},
employee_name_ = #{employeeName},
subject_id_ = #{subjectId},
subject_name_ = #{subjectName},
type_ = #{type},
instrument_no_ = #{instrumentNo},
description_ = #{description},
amount_ = #{amount},
finish_time_ = #{finishTime},
send_type_ #{sendType},
contact_name_ = #{contactName},
contact_mobile_ = #{contactName},
address_ = #{address},
pay_status_ = #{payStatus},
update_time_ = #{updateTime},
WHERE id_ = #{id}