insert into t_big_maintenance
big_maintenance_id,
maintenance_number,
maintenance_time,
responsibility_people,
responsibility_phone,
situation,
maintenance_notes,
create_time,
create_user,
is_use,
big_device_id,
#{bigMaintenanceId,jdbcType=VARCHAR},
#{maintenanceNumber,jdbcType=VARCHAR},
#{maintenanceTime,jdbcType=TIMESTAMP},
#{responsibilityPeople,jdbcType=VARCHAR},
#{responsibilityPhone,jdbcType=VARCHAR},
#{situation,jdbcType=VARCHAR},
#{maintenanceNotes,jdbcType=VARCHAR},
#{createTime,jdbcType=TIMESTAMP},
#{createUser,jdbcType=VARCHAR},
#{isUse,jdbcType=INTEGER},
#{bigDeviceId,jdbcType=VARCHAR},
update t_big_maintenance set
is_use=2
where big_maintenance_id=#{bigMaintenanceId}
update t_big_maintenance
maintenance_number = #{maintenanceNumber,jdbcType=VARCHAR},
maintenance_time = #{maintenanceTime,jdbcType=TIMESTAMP},
responsibility_people = #{responsibilityPeople,jdbcType=VARCHAR},
responsibility_phone = #{responsibilityPhone,jdbcType=VARCHAR},
situation = #{situation,jdbcType=VARCHAR},
maintenance_notes = #{maintenanceNotes,jdbcType=VARCHAR},
create_time = #{createTime,jdbcType=TIMESTAMP},
create_user = #{createUser,jdbcType=VARCHAR},
is_use = #{isUse,jdbcType=INTEGER},
big_device_id = #{bigDeviceId,jdbcType=INTEGER},
where big_maintenance_id = #{bigMaintenanceId,jdbcType=VARCHAR}