insert into model_vehicle(id,
vehicle_code,
vehicle_name,
description,
vehicle_type,
model_label,
vehicle_front_view,
vehicle_top_view,
max_speed,
engine_power,
max_deceleration,
max_steering_angle,
mass,
front_surface_effective,
air_drag_coefficient,
rolling_resistance_coefficient,
wheel_diameter,
wheel_drive,
overall_efficiency,
front_distance,
rear_distance,
left_distance,
right_distance,
height_distance,
wheelbase,
share,
create_time,
modify_time,
create_user_id,
modify_user_id,
is_deleted,
parameter_type,
driver_type,
par_file_path,
wheelCenterToGround, centroidToFrontWheelCenter, centroidToGround, sprungMass,
vehicleWidth,
vehicleLength,
rotationalInertiaX, rotationalInertiaY, rotationalInertiaZ,
frontLeftWheelEffectiveRollingRadius, frontLeftWheelRollingResistanceCoefficient,
frontLeftWheelFreeRadius, frontLeftWheelRelationCurvePositiveMomentAndSideslipAngle,
frontLeftWheelRelationCurveLateralForceAndSideslipAngle,
frontLeftWheelRelationCurveLongitudinalForceAndSideslipAngle,
rearLeftWheelEffectiveRollingRadius, rearLeftWheelRollingResistanceCoefficient,
rearLeftWheelFreeRadius, rearLeftWheelRelationCurvePositiveMomentAndSideslipAngle,
rearLeftWheelRelationCurveLateralForceAndSideslipAngle,
rearLeftWheelRelationCurveLongitudinalForceAndSideslipAngle,
frontRightWheelEffectiveRollingRadius, frontRightWheelRollingResistanceCoefficient,
frontRightWheelFreeRadius, frontRightWheelRelationCurvePositiveMomentAndSideslipAngle,
frontRightWheelRelationCurveLateralForceAndSideslipAngle,
frontRightWheelRelationCurveLongitudinalForceAndSideslipAngle,
rearRightWheelEffectiveRollingRadius, rearRightWheelRollingResistanceCoefficient,
rearRightWheelFreeRadius, rearRightWheelRelationCurvePositiveMomentAndSideslipAngle,
rearRightWheelRelationCurveLateralForceAndSideslipAngle,
rearRightWheelRelationCurveLongitudinalForceAndSideslipAngle,
frontWheelSuspensionType,
frontWheelSuspensionKinematicsCoefficient, frontWheelUnsprungMass,
frontWheelTrackWidth,
rearWheelSuspensionType, rearWheelSuspensionKinematicsCoefficient,
rearWheelUnsprungMass,
rearWheelTrackWidth, windwardArea, airDensity, engineCrankshaftMomentInertia,
idleSpeed,
relationCurveEngineTorqueSpeedAndThrottleOpening, momentInertiaInputShaft,
momentInertiaOutputShaft, finalDriveRatio, transmissionEfficiency, gearRatio, inertia,
driving, coasting, shiftTime, shiftTimeUp12, shiftTimeDown12, shiftTimeUp23,
shiftTimeDown23,
shiftTimeUp34, shiftTimeDown34, shiftTimeUp45, shiftTimeDown45, shiftTimeUp56,
shiftTimeDown56, brakeType, frontLeftWheelBrakingTorque, rearLeftWheelBrakingTorque,
frontRightWheelBrakingTorque, rearRightWheelBrakingTorque, steeringType,
steeringGearType,
steeringGearRatio, relationCurveRightWheelAngleAndSteeringGearOutput,
relationCurveLeftWheelAngleAndSteeringGearOutput, wheelCenterToTop)
values (#{id,jdbcType=VARCHAR},
#{vehicleCode,jdbcType=VARCHAR},
#{vehicleName,jdbcType=VARCHAR},
#{description,jdbcType=VARCHAR},
#{vehicleType,jdbcType=VARCHAR},
#{modelLabel,jdbcType=VARCHAR},
#{vehicleFrontView,jdbcType=VARCHAR},
#{vehicleTopView,jdbcType=VARCHAR},
#{maxSpeed,jdbcType=DECIMAL},
#{enginePower,jdbcType=DECIMAL},
#{maxDeceleration,jdbcType=DECIMAL},
#{maxSteeringAngle,jdbcType=DECIMAL},
#{mass,jdbcType=DECIMAL},
#{frontSurfaceEffective,jdbcType=DECIMAL},
#{airDragCoefficient,jdbcType=DECIMAL},
#{rollingResistanceCoefficient,jdbcType=DECIMAL},
#{wheelDiameter,jdbcType=DECIMAL},
#{wheelDrive,jdbcType=VARCHAR},
#{overallEfficiency,jdbcType=DECIMAL},
#{frontDistance,jdbcType=DECIMAL},
#{rearDistance,jdbcType=DECIMAL},
#{leftDistance,jdbcType=DECIMAL},
#{rightDistance,jdbcType=DECIMAL},
#{heightDistance,jdbcType=DECIMAL},
#{wheelbase,jdbcType=DECIMAL},
#{share,jdbcType=VARCHAR},
#{createTime,jdbcType=TIMESTAMP},
#{modifyTime,jdbcType=TIMESTAMP},
#{createUserId,jdbcType=VARCHAR},
#{modifyUserId,jdbcType=VARCHAR},
#{isDeleted,jdbcType=VARCHAR},
#{parameterType},
#{driverType},
#{parFilePath},
#{wheelCenterToGround},
#{centroidToFrontWheelCenter},
#{centroidToGround},
#{sprungMass},
#{vehicleWidth},
#{vehicleLength},
#{rotationalInertiaX},
#{rotationalInertiaY},
#{rotationalInertiaZ},
#{frontLeftWheelEffectiveRollingRadius},
#{frontLeftWheelRollingResistanceCoefficient},
#{frontLeftWheelFreeRadius},
#{frontLeftWheelRelationCurvePositiveMomentAndSideslipAngleJson},
#{frontLeftWheelRelationCurveLateralForceAndSideslipAngleJson},
#{frontLeftWheelRelationCurveLongitudinalForceAndSideslipAngleJson},
#{rearLeftWheelEffectiveRollingRadius},
#{rearLeftWheelRollingResistanceCoefficient},
#{rearLeftWheelFreeRadius},
#{rearLeftWheelRelationCurvePositiveMomentAndSideslipAngleJson},
#{rearLeftWheelRelationCurveLateralForceAndSideslipAngleJson},
#{rearLeftWheelRelationCurveLongitudinalForceAndSideslipAngleJson},
#{frontRightWheelEffectiveRollingRadius},
#{frontRightWheelRollingResistanceCoefficient},
#{frontRightWheelFreeRadius},
#{frontRightWheelRelationCurvePositiveMomentAndSideslipAngleJson},
#{frontRightWheelRelationCurveLateralForceAndSideslipAngleJson},
#{frontRightWheelRelationCurveLongitudinalForceAndSideslipAngleJson},
#{rearRightWheelEffectiveRollingRadius},
#{rearRightWheelRollingResistanceCoefficient},
#{rearRightWheelFreeRadius},
#{rearRightWheelRelationCurvePositiveMomentAndSideslipAngleJson},
#{rearRightWheelRelationCurveLateralForceAndSideslipAngleJson},
#{rearRightWheelRelationCurveLongitudinalForceAndSideslipAngleJson},
#{frontWheelSuspensionType},
#{frontWheelSuspensionKinematicsCoefficient},
#{frontWheelUnsprungMass},
#{frontWheelTrackWidth},
#{rearWheelSuspensionType},
#{rearWheelSuspensionKinematicsCoefficient},
#{rearWheelUnsprungMass},
#{rearWheelTrackWidth},
#{windwardArea},
#{airDensity},
#{engineCrankshaftMomentInertia},
#{idleSpeed},
#{relationCurveEngineTorqueSpeedAndThrottleOpeningJson},
#{momentInertiaInputShaft},
#{momentInertiaOutputShaft},
#{finalDriveRatio},
#{transmissionEfficiency},
#{gearRatioJson},
#{inertiaJson},
#{drivingJson},
#{coastingJson},
#{shiftTime},
#{shiftTimeUp12Json},
#{shiftTimeDown12Json},
#{shiftTimeUp23Json},
#{shiftTimeDown23Json},
#{shiftTimeUp34Json},
#{shiftTimeDown34Json},
#{shiftTimeUp45Json},
#{shiftTimeDown45Json},
#{shiftTimeUp56Json},
#{shiftTimeDown56Json},
#{brakeType},
#{frontLeftWheelBrakingTorque},
#{rearLeftWheelBrakingTorque},
#{frontRightWheelBrakingTorque},
#{rearRightWheelBrakingTorque},
#{steeringType},
#{steeringGearType},
#{steeringGearRatio},
#{relationCurveRightWheelAngleAndSteeringGearOutputJson},
#{relationCurveLeftWheelAngleAndSteeringGearOutputJson},
#{wheelCenterToTop})
update model_vehicle
set vehicle_name = #{vehicleName,jdbcType=VARCHAR},
description = #{description,jdbcType=VARCHAR},
vehicle_type = #{vehicleType,jdbcType=VARCHAR},
model_label = #{modelLabel,jdbcType=VARCHAR},
vehicle_front_view = #{vehicleFrontView,jdbcType=VARCHAR},
vehicle_top_view = #{vehicleTopView,jdbcType=VARCHAR},
max_speed = #{maxSpeed,jdbcType=DECIMAL},
engine_power = #{enginePower,jdbcType=DECIMAL},
max_deceleration = #{maxDeceleration,jdbcType=DECIMAL},
max_steering_angle = #{maxSteeringAngle,jdbcType=DECIMAL},
mass = #{mass,jdbcType=DECIMAL},
front_surface_effective = #{frontSurfaceEffective,jdbcType=DECIMAL},
air_drag_coefficient = #{airDragCoefficient,jdbcType=DECIMAL},
rolling_resistance_coefficient = #{rollingResistanceCoefficient,jdbcType=DECIMAL},
wheel_diameter = #{wheelDiameter,jdbcType=DECIMAL},
wheel_drive = #{wheelDrive,jdbcType=VARCHAR},
overall_efficiency = #{overallEfficiency,jdbcType=DECIMAL},
front_distance = #{frontDistance,jdbcType=DECIMAL},
rear_distance = #{rearDistance,jdbcType=DECIMAL},
left_distance = #{leftDistance,jdbcType=DECIMAL},
right_distance = #{rightDistance,jdbcType=DECIMAL},
height_distance = #{heightDistance,jdbcType=DECIMAL},
wheelbase = #{wheelbase,jdbcType=DECIMAL},
modify_time = #{modifyTime,jdbcType=TIMESTAMP},
modify_user_id = #{modifyUserId,jdbcType=VARCHAR},
parameter_type = #{parameterType},
driver_type = #{driverType},
par_file_path = #{parFilePath},
wheelCenterToTop = #{wheelCenterToTop},
wheelCenterToGround = #{wheelCenterToGround},
centroidToFrontWheelCenter = #{centroidToFrontWheelCenter},
centroidToGround = #{centroidToGround},
sprungMass = #{sprungMass},
vehicleWidth = #{vehicleWidth},
vehicleLength = #{vehicleLength},
rotationalInertiaX = #{rotationalInertiaX},
rotationalInertiaY = #{rotationalInertiaY},
rotationalInertiaZ = #{rotationalInertiaZ},
frontLeftWheelEffectiveRollingRadius = #{frontLeftWheelEffectiveRollingRadius},
frontLeftWheelRollingResistanceCoefficient = #{frontLeftWheelRollingResistanceCoefficient},
frontLeftWheelFreeRadius = #{frontLeftWheelFreeRadius},
frontLeftWheelRelationCurvePositiveMomentAndSideslipAngle = #{frontLeftWheelRelationCurvePositiveMomentAndSideslipAngleJson},
frontLeftWheelRelationCurveLateralForceAndSideslipAngle = #{frontLeftWheelRelationCurveLateralForceAndSideslipAngleJson},
frontLeftWheelRelationCurveLongitudinalForceAndSideslipAngle = #{frontLeftWheelRelationCurveLongitudinalForceAndSideslipAngleJson},
rearLeftWheelEffectiveRollingRadius = #{rearLeftWheelEffectiveRollingRadius},
rearLeftWheelRollingResistanceCoefficient = #{rearLeftWheelRollingResistanceCoefficient},
rearLeftWheelFreeRadius = #{rearLeftWheelFreeRadius},
rearLeftWheelRelationCurvePositiveMomentAndSideslipAngle = #{rearLeftWheelRelationCurvePositiveMomentAndSideslipAngleJson},
rearLeftWheelRelationCurveLateralForceAndSideslipAngle = #{rearLeftWheelRelationCurveLateralForceAndSideslipAngleJson},
rearLeftWheelRelationCurveLongitudinalForceAndSideslipAngle = #{rearLeftWheelRelationCurveLongitudinalForceAndSideslipAngleJson},
frontRightWheelEffectiveRollingRadius = #{frontRightWheelEffectiveRollingRadius},
frontRightWheelRollingResistanceCoefficient = #{frontRightWheelRollingResistanceCoefficient},
frontRightWheelFreeRadius = #{frontRightWheelFreeRadius},
frontRightWheelRelationCurvePositiveMomentAndSideslipAngle = #{frontRightWheelRelationCurvePositiveMomentAndSideslipAngleJson},
frontRightWheelRelationCurveLateralForceAndSideslipAngle = #{frontRightWheelRelationCurveLateralForceAndSideslipAngleJson},
frontRightWheelRelationCurveLongitudinalForceAndSideslipAngle = #{frontRightWheelRelationCurveLongitudinalForceAndSideslipAngleJson},
rearRightWheelEffectiveRollingRadius = #{rearRightWheelEffectiveRollingRadius},
rearRightWheelRollingResistanceCoefficient = #{rearRightWheelRollingResistanceCoefficient},
rearRightWheelFreeRadius = #{rearRightWheelFreeRadius},
rearRightWheelRelationCurvePositiveMomentAndSideslipAngle = #{rearRightWheelRelationCurvePositiveMomentAndSideslipAngleJson},
rearRightWheelRelationCurveLateralForceAndSideslipAngle = #{rearRightWheelRelationCurveLateralForceAndSideslipAngleJson},
rearRightWheelRelationCurveLongitudinalForceAndSideslipAngle = #{rearRightWheelRelationCurveLongitudinalForceAndSideslipAngleJson},
frontWheelSuspensionType = #{frontWheelSuspensionType},
frontWheelSuspensionKinematicsCoefficient = #{frontWheelSuspensionKinematicsCoefficient},
frontWheelUnsprungMass = #{frontWheelUnsprungMass},
frontWheelTrackWidth = #{frontWheelTrackWidth},
rearWheelSuspensionType = #{rearWheelSuspensionType},
rearWheelSuspensionKinematicsCoefficient = #{rearWheelSuspensionKinematicsCoefficient},
rearWheelUnsprungMass = #{rearWheelUnsprungMass},
rearWheelTrackWidth = #{rearWheelTrackWidth},
windwardArea = #{windwardArea},
airDensity = #{airDensity},
engineCrankshaftMomentInertia = #{engineCrankshaftMomentInertia},
idleSpeed = #{idleSpeed},
relationCurveEngineTorqueSpeedAndThrottleOpening = #{relationCurveEngineTorqueSpeedAndThrottleOpeningJson},
momentInertiaInputShaft = #{momentInertiaInputShaft},
momentInertiaOutputShaft = #{momentInertiaOutputShaft},
finalDriveRatio = #{finalDriveRatio},
transmissionEfficiency = #{transmissionEfficiency},
gearRatio = #{gearRatioJson},
inertia = #{inertiaJson},
driving = #{drivingJson},
coasting = #{coastingJson},
shiftTime = #{shiftTime},
shiftTimeUp12 = #{shiftTimeUp12Json},
shiftTimeDown12 = #{shiftTimeDown12Json},
shiftTimeUp23 = #{shiftTimeUp23Json},
shiftTimeDown23 = #{shiftTimeDown23Json},
shiftTimeUp34 = #{shiftTimeUp34Json},
shiftTimeDown34 = #{shiftTimeDown34Json},
shiftTimeUp45 = #{shiftTimeUp45Json},
shiftTimeDown45 = #{shiftTimeDown45Json},
shiftTimeUp56 = #{shiftTimeUp56Json},
shiftTimeDown56 = #{shiftTimeDown56Json},
brakeType = #{brakeType},
frontLeftWheelBrakingTorque = #{frontLeftWheelBrakingTorque},
rearLeftWheelBrakingTorque = #{rearLeftWheelBrakingTorque},
frontRightWheelBrakingTorque = #{frontRightWheelBrakingTorque},
rearRightWheelBrakingTorque = #{rearRightWheelBrakingTorque},
steeringType = #{steeringType},
steeringGearType = #{steeringGearType},
steeringGearRatio = #{steeringGearRatio},
relationCurveRightWheelAngleAndSteeringGearOutput = #{relationCurveRightWheelAngleAndSteeringGearOutputJson},
relationCurveLeftWheelAngleAndSteeringGearOutput = #{relationCurveLeftWheelAngleAndSteeringGearOutputJson}
where id = #{id,jdbcType=VARCHAR}
update model_vehicle
set modify_time = #{modifyTime,jdbcType=TIMESTAMP},
modify_user_id = #{modifyUserId,jdbcType=VARCHAR},
is_deleted = #{isDeleted,jdbcType=VARCHAR}
where id = #{id,jdbcType=VARCHAR}